IceStorm.LinkInfoSeqHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of icestorm-compat Show documentation
Show all versions of icestorm-compat Show documentation
Publish-subscribe event distribution service
// **********************************************************************
//
// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.7.1
//
//
//
// Generated from file `IceStorm.ice'
//
// Warning: do not edit this file.
//
//
//
package IceStorm;
public final class LinkInfoSeqHelper
{
public static void
write(Ice.OutputStream ostr, LinkInfo[] v)
{
if(v == null)
{
ostr.writeSize(0);
}
else
{
ostr.writeSize(v.length);
for(int i0 = 0; i0 < v.length; i0++)
{
LinkInfo.ice_write(ostr, v[i0]);
}
}
}
public static LinkInfo[]
read(Ice.InputStream istr)
{
LinkInfo[] v;
final int len0 = istr.readAndCheckSeqSize(7);
v = new LinkInfo[len0];
for(int i0 = 0; i0 < len0; i0++)
{
v[i0] = LinkInfo.ice_read(istr);
}
return v;
}
}