java.lang.Object
com.zeroc.IceMX.MetricsViewHelper
Helper class for marshaling/unmarshaling MetricsView.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread
(InputStream istr) Unmarshals a dictionary ofMetricsView
from an input stream.read
(InputStream istr, int tag) Unmarshals an optional dictionary ofMetricsView
from an input stream.static void
write
(OutputStream ostr, int tag, Map<String, Metrics[]> v) Marshals an optional dictionary ofMetricsView
into an output stream.static void
Marshals an optional dictionary ofMetricsView
into an output stream.static void
write
(OutputStream ostr, Map<String, Metrics[]> v) Marshals a dictionary ofMetricsView
into an output stream.
-
Constructor Details
-
MetricsViewHelper
public MetricsViewHelper()
-
-
Method Details
-
write
Marshals a dictionary ofMetricsView
into an output stream.- Parameters:
ostr
- the output streamv
- the dictionary to marshal
-
read
Unmarshals a dictionary ofMetricsView
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the dictionary
-
write
Marshals an optional dictionary ofMetricsView
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the dictionary to marshal
-
write
Marshals an optional dictionary ofMetricsView
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the dictionary to marshal
-
read
Unmarshals an optional dictionary ofMetricsView
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the dictionary
-