java.lang.Object
com.zeroc.IceGrid.ServerInstanceDescriptorSeqHelper
Helper class for marshaling/unmarshaling ServerInstanceDescriptorSeq.
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<ServerInstanceDescriptor>read(InputStream istr) Unmarshals a list ofServerInstanceDescriptorSeqfrom an input stream.static Optional<List<ServerInstanceDescriptor>>read(InputStream istr, int tag) Unmarshals an optional list ofServerInstanceDescriptorSeqfrom an input stream.static voidwrite(OutputStream ostr, int tag, List<ServerInstanceDescriptor> v) Marshals an optional list ofServerInstanceDescriptorSeqinto an output stream.static voidwrite(OutputStream ostr, int tag, Optional<List<ServerInstanceDescriptor>> v) Marshals an optional list ofServerInstanceDescriptorSeqinto an output stream.static voidwrite(OutputStream ostr, List<ServerInstanceDescriptor> v) Marshals a list ofServerInstanceDescriptorSeqinto an output stream.
-
Method Details
-
write
Marshals a list ofServerInstanceDescriptorSeqinto an output stream.- Parameters:
ostr- the output streamv- the list to marshal
-
read
Unmarshals a list ofServerInstanceDescriptorSeqfrom an input stream.- Parameters:
istr- the input stream- Returns:
- the list
-
write
Marshals an optional list ofServerInstanceDescriptorSeqinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the list to marshal
-
write
Marshals an optional list ofServerInstanceDescriptorSeqinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the list to marshal
-
read
Unmarshals an optional list ofServerInstanceDescriptorSeqfrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the list
-