public class ServerAddress extends Object implements IServerAddress
IServerAddress.Protocol
Modifier and Type | Method and Description |
---|---|
String |
getHost()
Gets the IP address or hostname of the server.
|
int |
getPort()
Gets the port number of the server.
|
Properties |
getProperties()
Gets the properties parsed from the query component of the URI.
|
IServerAddress.Protocol |
getProtocol()
Gets the connection protocol.
|
String |
getQuery()
Gets the query component of the URI.
|
String |
getRsh()
Gets the command for running the server in 'rsh' mode.
|
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 String getHost()
IServerAddress
getHost
in interface IServerAddress
IServerAddress.getHost()
public int getPort()
IServerAddress
getPort
in interface IServerAddress
IServerAddress.getPort()
public String getQuery()
IServerAddress
getQuery
in interface IServerAddress
IServerAddress.getQuery()
public Properties getProperties()
IServerAddress
getProperties
in interface IServerAddress
IServerAddress.getProperties()
public String getUri()
IServerAddress
getUri
in interface IServerAddress
IServerAddress.getUri()
public String getRsh()
IServerAddress
getRsh
in interface IServerAddress
IServerAddress.getRsh()
public boolean isSecure()
IServerAddress
isSecure
in interface IServerAddress
IServerAddress.isSecure()
Copyright © 2017 Perforce Software. All Rights Reserved.