Package org.bouncycastle.crypto.tls
Interface DatagramTransport
-
- All Known Implementing Classes:
DTLSTransport
,LoggingDatagramTransport
,UDPTransport
,UnreliableDatagramTransport
public interface DatagramTransport
Base interface for an object sending and receiving DTLS data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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)
-
-
-
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
-
-