Package org.bouncycastle.tls
Class UDPTransport
java.lang.Object
org.bouncycastle.tls.UDPTransport
- All Implemented Interfaces:
DatagramReceiver
,DatagramSender
,DatagramTransport
,TlsCloseable
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
protected static final int
protected final int
protected final int
protected final DatagramSocket
protected static final int
-
Constructor Summary
-
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:
getReceiveLimit
in interfaceDatagramReceiver
-
getSendLimit
public int getSendLimit()- Specified by:
getSendLimit
in interfaceDatagramSender
-
receive
- Specified by:
receive
in interfaceDatagramReceiver
- Throws:
IOException
-
send
- Specified by:
send
in interfaceDatagramSender
- Throws:
IOException
-
close
- Specified by:
close
in interfaceTlsCloseable
- Throws:
IOException
-