DTLSTransport
, LoggingDatagramTransport
, UDPTransport
, UnreliableDatagramTransport
public interface DatagramTransport
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
int |
getReceiveLimit() |
|
int |
getSendLimit() |
|
int |
receive(byte[] buf,
int off,
int len,
int waitMillis) |
|
void |
send(byte[] buf,
int off,
int len) |
int getReceiveLimit() throws java.io.IOException
java.io.IOException
int getSendLimit() throws java.io.IOException
java.io.IOException
int receive(byte[] buf, int off, int len, int waitMillis) throws java.io.IOException
java.io.IOException
void send(byte[] buf, int off, int len) throws java.io.IOException
java.io.IOException
void close() throws java.io.IOException
java.io.IOException