java.lang.Object
com.zeroc.IceGrid.ServiceDescriptorSeqHelper
Helper class for marshaling/unmarshaling ServiceDescriptorSeq.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ServiceDescriptor>
read
(InputStream istr) Unmarshals a list ofServiceDescriptorSeq
from an input stream.static Optional<List<ServiceDescriptor>>
read
(InputStream istr, int tag) Unmarshals an optional list ofServiceDescriptorSeq
from an input stream.static void
write
(OutputStream ostr, int tag, List<ServiceDescriptor> v) Marshals an optional list ofServiceDescriptorSeq
into an output stream.static void
write
(OutputStream ostr, int tag, Optional<List<ServiceDescriptor>> v) Marshals an optional list ofServiceDescriptorSeq
into an output stream.static void
write
(OutputStream ostr, List<ServiceDescriptor> v) Marshals a list ofServiceDescriptorSeq
into an output stream.
-
Constructor Details
-
ServiceDescriptorSeqHelper
public ServiceDescriptorSeqHelper()
-
-
Method Details
-
write
Marshals a list ofServiceDescriptorSeq
into an output stream.- Parameters:
ostr
- the output streamv
- the list to marshal
-
read
Unmarshals a list ofServiceDescriptorSeq
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the list
-
write
Marshals an optional list ofServiceDescriptorSeq
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the list to marshal
-
write
Marshals an optional list ofServiceDescriptorSeq
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the list to marshal
-
read
Unmarshals an optional list ofServiceDescriptorSeq
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the list
-