public class SocketAddress
extends Object
Represents a SocketAddress.
Public Constructors | |
---|---|
SocketAddress(String ip, int port)
Construct a new ConversationOptions |
|
SocketAddress(String ip, int port, String sslAcceptedIP)
Construct a new ConversationOptions |
Public methods | |
---|---|
String |
getIp()
Return ip. |
void |
setIp(String ip)
Set ip. |
int |
getPort()
Return port. |
void |
setPort(int port)
Set port. |
String |
getSslAcceptedIP()
Return SSL accepted ip. |
void |
setSslAcceptedIP(String sslAcceptedIP)
Set SSL accepted ip. |
SocketAddress(String ip, int port)
Construct a new SocketAddress.
Parameters | |
---|---|
ip |
The ip. |
port |
The port. |
SocketAddress(String ip, int port, String sslAcceptedIP)
Construct a new SocketAddress.
Parameters | |
---|---|
ip |
The ip. |
port |
The port. |
sslAcceptedIP |
The SSL accepted ip. |
String getIp()
Return ip.
void setIp(String ip)
Set ip.
Parameters | |
---|---|
ip |
The ip. |
int getPort()
Return port.
void setPort(int port)
Set port.
Parameters | |
---|---|
port |
The port. |
String getSslAcceptedIP()
Return SSL accepted ip.
void setSslAcceptedIP(String sslAcceptedIP)
Set SSL accepted ip.
Parameters | |
---|---|
sslAcceptedIP |
The SSL accepted ip. |