Package org.bouncycastle.tls
Class UDPTransport
java.lang.Object
org.bouncycastle.tls.UDPTransport
- All Implemented Interfaces:
DatagramReceiver,DatagramSender,DatagramTransport,TlsCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected final intprotected final intprotected final DatagramSocketprotected static final int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MIN_IP_OVERHEAD
protected static final int MIN_IP_OVERHEAD- See Also:
-
MAX_IP_OVERHEAD
protected static final int MAX_IP_OVERHEAD- See Also:
-
UDP_OVERHEAD
protected static final int UDP_OVERHEAD- See Also:
-
socket
-
receiveLimit
protected final int receiveLimit -
sendLimit
protected final int sendLimit
-
-
Constructor Details
-
UDPTransport
- Throws:
IOException
-
-
Method Details
-
getReceiveLimit
public int getReceiveLimit()- Specified by:
getReceiveLimitin interfaceDatagramReceiver
-
getSendLimit
public int getSendLimit()- Specified by:
getSendLimitin interfaceDatagramSender
-
receive
- Specified by:
receivein interfaceDatagramReceiver- Throws:
IOException
-
send
- Specified by:
sendin interfaceDatagramSender- Throws:
IOException
-
close
- Specified by:
closein interfaceTlsCloseable- Throws:
IOException
-