Suggestions

close search

SocketAddress

public class SocketAddress
extends Object



Represents a SocketAddress.



Summary


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.


Public constructors


SocketAddress

SocketAddress(String ip, int port)

Construct a new SocketAddress.

Parameters
ip

The ip.

port

The port.



SocketAddress

SocketAddress(String ip, int port, String sslAcceptedIP)

Construct a new SocketAddress.

Parameters
ip

The ip.

port

The port.

sslAcceptedIP

The SSL accepted ip.



Public methods


getIp

String getIp()

Return ip.



setIp

void setIp(String ip)

Set ip.

Parameters
ip

The ip.



getPort

int getPort()

Return port.



setPort

void setPort(int port)

Set port.

Parameters
port

The port.



getSslAcceptedIP

String getSslAcceptedIP()

Return SSL accepted ip.



setSslAcceptedIP

void setSslAcceptedIP(String sslAcceptedIP)

Set SSL accepted ip.

Parameters
sslAcceptedIP

The SSL accepted ip.