Package org.bouncycastle.crypto.tls
Interface DatagramTransport
-
- All Superinterfaces:
TlsCloseable
- All Known Implementing Classes:
DTLSTransport
,LoggingDatagramTransport
,UDPTransport
,UnreliableDatagramTransport
public interface DatagramTransport extends TlsCloseable
Deprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).Base interface for an object sending and receiving DTLS data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description int
getReceiveLimit()
Deprecated.int
getSendLimit()
Deprecated.int
receive(byte[] buf, int off, int len, int waitMillis)
Deprecated.void
send(byte[] buf, int off, int len)
Deprecated.-
Methods inherited from interface org.bouncycastle.crypto.tls.TlsCloseable
close
-
-
-
-
Method Detail
-
getReceiveLimit
int getReceiveLimit() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
getSendLimit
int getSendLimit() throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
receive
int receive(byte[] buf, int off, int len, int waitMillis) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
send
void send(byte[] buf, int off, int len) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
-