public interface Transports
Modifier and Type | Method and Description |
---|---|
int |
getDtlsPort()
Gets the DTLS port in the
Transports object. |
int |
getTcpPort()
Gets the TCP port in the
Transports object. |
int |
getTlsPort()
Gets the TLS port in the
Transports object. |
int |
getUdpPort()
Gets the UDP port in the
Transports object. |
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
void |
setDtlsPort(int port)
Sets the DTLS port in the
Transports object. |
void |
setTcpPort(int port)
Sets the TCP port in the
Transports object. |
void |
setTlsPort(int port)
Sets the TLS port in the
Transports object. |
void |
setUdpPort(int port)
Sets the UDP port in the
Transports object. |
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
int getDtlsPort()
Transports
object.void setDtlsPort(int port)
Transports
object.port
- the DTLS portint getTcpPort()
Transports
object.void setTcpPort(int port)
Transports
object.port
- the TCP portint getTlsPort()
Transports
object.void setTlsPort(int port)
Transports
object.port
- the TLS portint getUdpPort()
Transports
object.void setUdpPort(int port)
Transports
object.port
- the UDP portvoid setUserData(java.lang.Object data)
data
- the object to storejava.lang.Object getUserData()