Package org.bouncycastle.crypto.tls
Interface DatagramTransport
-
- All Known Implementing Classes:
DTLSTransport,LoggingDatagramTransport,UDPTransport,UnreliableDatagramTransport
public interface DatagramTransportBase interface for an object sending and receiving DTLS data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()intgetReceiveLimit()intgetSendLimit()intreceive(byte[] buf, int off, int len, int waitMillis)voidsend(byte[] buf, int off, int len)
-
-
-
Method Detail
-
getReceiveLimit
int getReceiveLimit() throws java.io.IOException- Throws:
java.io.IOException
-
getSendLimit
int getSendLimit() throws java.io.IOException- Throws:
java.io.IOException
-
receive
int receive(byte[] buf, int off, int len, int waitMillis) throws java.io.IOException- Throws:
java.io.IOException
-
send
void send(byte[] buf, int off, int len) throws java.io.IOException- Throws:
java.io.IOException
-
close
void close() throws java.io.IOException- Throws:
java.io.IOException
-
-