public class Protocolv31x extends AbstractProtocol
group, port, udpAddr| Constructor and Description |
|---|
Protocolv31x(String group,
int port,
GMetric.UDPAddressingMode mode,
int ttl,
int metadataMessageInterval,
UUID uuid,
String spoofName) |
| Modifier and Type | Method and Description |
|---|---|
void |
announce(String name,
String value,
GMetricType type,
String units,
GMetricSlope slope,
int tmax,
int dmax,
String groupName)
Announces a metric
|
close, finalize, sendpublic Protocolv31x(String group, int port, GMetric.UDPAddressingMode mode, int ttl, int metadataMessageInterval, UUID uuid, String spoofName) throws IOException
IOExceptionpublic void announce(String name, String value, GMetricType type, String units, GMetricSlope slope, int tmax, int dmax, String groupName) throws Exception
Protocolannounce in interface Protocolannounce in class AbstractProtocolname - the metric namevalue - the metric valuetype - the metric typeunits - the unitsslope - the slopetmax - the tmaxdmax - the dmaxgroupName - the metric groupExceptionCopyright © 2017. All rights reserved.