public class ServerAddress extends java.lang.Object implements IServerAddress
IServerAddress.Protocol
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHost()
Gets the IP address or hostname of the server.
|
int |
getPort()
Gets the port number of the server.
|
java.util.Properties |
getProperties()
Gets the properties parsed from the query component of the URI.
|
IServerAddress.Protocol |
getProtocol()
Gets the connection protocol.
|
java.lang.String |
getQuery()
Gets the query component of the URI.
|
java.lang.String |
getRsh()
Gets the command for running the server in 'rsh' mode.
|
java.lang.String |
getUri()
Gets the URI form of the associated address.
|
boolean |
isSecure()
Return true, if the protocol is secure.
|
public IServerAddress.Protocol getProtocol()
IServerAddress
getProtocol
in interface IServerAddress
IServerAddress.getProtocol()
public java.lang.String getHost()
IServerAddress
getHost
in interface IServerAddress
IServerAddress.getHost()
public int getPort()
IServerAddress
getPort
in interface IServerAddress
IServerAddress.getPort()
public java.lang.String getQuery()
IServerAddress
getQuery
in interface IServerAddress
IServerAddress.getQuery()
public java.util.Properties getProperties()
IServerAddress
getProperties
in interface IServerAddress
IServerAddress.getProperties()
public java.lang.String getUri()
IServerAddress
getUri
in interface IServerAddress
IServerAddress.getUri()
public java.lang.String getRsh()
IServerAddress
getRsh
in interface IServerAddress
IServerAddress.getRsh()
public boolean isSecure()
IServerAddress
isSecure
in interface IServerAddress
IServerAddress.isSecure()