public class GangliaMessageEncoder25 extends Object implements IGangliaMessageEncoder
Constructor and Description |
---|
GangliaMessageEncoder25() |
Modifier and Type | Method and Description |
---|---|
void |
writeMetadata(XDROutputBuffer xdr,
IGangliaMetadataMessage decl)
NOP.
|
void |
writeMetric(XDROutputBuffer xdr,
IGangliaMetadataMessage decl,
IGangliaMetricMessage msg)
Generate a metric record.
|
void |
writeRequest(XDROutputBuffer xdr,
IGangliaRequestMessage msg)
TODO I am not sure whether or not there was a request message in this
protocol version.
|
public void writeRequest(XDROutputBuffer xdr, IGangliaRequestMessage msg)
writeRequest
in interface IGangliaMessageEncoder
xdr
- msg
- public void writeMetadata(XDROutputBuffer xdr, IGangliaMetadataMessage decl)
writeMetadata
in interface IGangliaMessageEncoder
xdr
- decl
- public void writeMetric(XDROutputBuffer xdr, IGangliaMetadataMessage decl, IGangliaMetricMessage msg)
IGangliaMessageEncoder
Note: It is critical that the IGangliaMetricMessage
is both
internally consistent and consistent with the
IGangliaMetadataMessage
for that metric.
writeMetric
in interface IGangliaMessageEncoder
xdr
- Where to write the record.decl
- The metadata declaration.msg
- The metric value message.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.