public class ServiceConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
ServiceConfiguration(java.lang.String hostname,
int port) |
| Modifier and Type | Method and Description |
|---|---|
ClientConfigurationHandler |
getConfigurationHandler() |
java.lang.String |
getConfigurationPath() |
java.lang.String |
getHost() |
int |
getPort() |
void |
setConfigurationHandler(ClientConfigurationHandler configHandler) |
void |
setConfigurationPath(java.lang.String configurationPath) |
void |
setHost(java.lang.String host) |
void |
setPort(int port) |
public ServiceConfiguration(java.lang.String hostname,
int port)
throws SDKInvalidArgumentException
hostname - the hostname of the pam360 serverport - the port on which server is runningSDKInvalidArgumentException - if hostname, port and token are null or emptypublic int getPort()
public void setPort(int port)
throws SDKInvalidArgumentException
SDKInvalidArgumentExceptionpublic java.lang.String getHost()
public void setHost(java.lang.String host)
throws SDKInvalidArgumentException
SDKInvalidArgumentExceptionpublic java.lang.String getConfigurationPath()
public void setConfigurationPath(java.lang.String configurationPath)
public void setConfigurationHandler(ClientConfigurationHandler configHandler)
public ClientConfigurationHandler getConfigurationHandler()