IceGrid.NodeUpdateDescriptorSeqHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of icegrid-compat Show documentation
Show all versions of icegrid-compat Show documentation
Locate, deploy, and manage Ice servers
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.3
//
//
//
// Generated from file `Descriptor.ice'
//
// Warning: do not edit this file.
//
//
//
package IceGrid;
public final class NodeUpdateDescriptorSeqHelper
{
public static void
write(Ice.OutputStream ostr, java.util.List v)
{
if(v == null)
{
ostr.writeSize(0);
}
else
{
ostr.writeSize(v.size());
for(NodeUpdateDescriptor elem : v)
{
NodeUpdateDescriptor.ice_write(ostr, elem);
}
}
}
public static java.util.List
read(Ice.InputStream istr)
{
java.util.List v;
v = new java.util.LinkedList();
final int len0 = istr.readAndCheckSeqSize(10);
for(int i0 = 0; i0 < len0; i0++)
{
NodeUpdateDescriptor elem = null;
elem = NodeUpdateDescriptor.ice_read(istr);
v.add(elem);
}
return v;
}
}