public interface Sender
| Modifier and Type | Method and Description |
|---|---|
void |
send(byte[] payload) |
static Sender |
stream(OutputStream stream) |
static Sender |
tcp(InetSocketAddress destinationAddress) |
static Sender |
udp(InetSocketAddress destinationAddress) |
void send(byte[] payload) throws IOException
IOExceptionstatic Sender udp(InetSocketAddress destinationAddress)
static Sender tcp(InetSocketAddress destinationAddress) throws IOException
IOExceptionstatic Sender stream(OutputStream stream)
Copyright © 2022. All rights reserved.