Package org.opennms.smoketest.telemetry
Interface Sender
-
public interface Sender
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsend(byte[] payload)static Senderstream(OutputStream stream)static Sendertcp(InetSocketAddress destinationAddress)static Senderudp(InetSocketAddress destinationAddress)
-
-
-
Method Detail
-
send
void send(byte[] payload) throws IOException
- Throws:
IOException
-
udp
static Sender udp(InetSocketAddress destinationAddress)
-
tcp
static Sender tcp(InetSocketAddress destinationAddress) throws IOException
- Throws:
IOException
-
stream
static Sender stream(OutputStream stream)
-
-