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, send
public Protocolv31x(String group, int port, GMetric.UDPAddressingMode mode, int ttl, int metadataMessageInterval, UUID uuid, String spoofName) throws IOException
IOException
public void announce(String name, String value, GMetricType type, String units, GMetricSlope slope, int tmax, int dmax, String groupName) throws Exception
Protocol
announce
in interface Protocol
announce
in class AbstractProtocol
name
- the metric namevalue
- the metric valuetype
- the metric typeunits
- the unitsslope
- the slopetmax
- the tmaxdmax
- the dmaxgroupName
- the metric groupException
Copyright © 2016. All rights reserved.