public class GangliaSender extends Object
Modifier and Type | Field and Description |
---|---|
protected XDROutputBuffer |
xdr |
Constructor and Description |
---|
GangliaSender(InetSocketAddress[] metricServers,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Method to close the datagram socket
|
protected void |
finalize()
Overridden to close the datagram socket.
|
void |
sendMessage(XDROutputBuffer xdr)
Send an XDR formatted message to the metric server(s).
|
protected final XDROutputBuffer xdr
public GangliaSender(InetSocketAddress[] metricServers, int bufferSize) throws SocketException
SocketException
protected void finalize() throws Throwable
public void close()
public void sendMessage(XDROutputBuffer xdr) throws IOException
xdr
- The XDR formatted message.IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.