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
IOException
static Sender udp(InetSocketAddress destinationAddress)
static Sender tcp(InetSocketAddress destinationAddress) throws IOException
IOException
static Sender stream(OutputStream stream)
Copyright © 2022. All rights reserved.