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 void
send(byte[] payload)
static Sender
stream(OutputStream stream)
static Sender
tcp(InetSocketAddress destinationAddress)
static Sender
udp(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)
-
-