Connection
UDPDatagramConnection
public interface DatagramConnection extends Connection
Modifier and Type | Method | Description |
---|---|---|
int |
getMaximumLength() |
|
int |
getNominalLength() |
|
Datagram |
newDatagram(byte[] var0,
int var1) |
|
Datagram |
newDatagram(byte[] var0,
int var1,
String var2) |
|
Datagram |
newDatagram(int var0) |
|
Datagram |
newDatagram(int var0,
String var1) |
|
void |
receive(Datagram var0) |
|
void |
send(Datagram var0) |
close
int getMaximumLength() throws IOException
IOException
int getNominalLength() throws IOException
IOException
Datagram newDatagram(int var0) throws IOException
IOException
Datagram newDatagram(int var0, String var1) throws IOException
IOException
Datagram newDatagram(byte[] var0, int var1) throws IOException
IOException
Datagram newDatagram(byte[] var0, int var1, String var2) throws IOException
IOException
void receive(Datagram var0) throws IOException
IOException
void send(Datagram var0) throws IOException
IOException