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