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