public class ConnectionSession
extends java.lang.Object
| Constructor and Description |
|---|
ConnectionSession(com.milestonesys.xpmobilesdk.communication.ServerInfo serverInfoArg)
Constructs a new ConnectionSession object instance.
|
| Modifier and Type | Method and Description |
|---|---|
com.milestonesys.xpmobilesdk.communication.ServerInfo |
getServer() |
java.lang.String |
getServerAlias() |
java.lang.String |
getServerHost() |
int |
getServerPort() |
boolean |
hasSupportsExtendedResampling() |
boolean |
isNativeStreamingRequired() |
boolean |
isSecureConnection()
Checks if the connection is secured by ssl
|
void |
setParameters(java.util.HashMap<java.lang.String,java.lang.String> paramsArg)
Sets server capabilities
|
public ConnectionSession(com.milestonesys.xpmobilesdk.communication.ServerInfo serverInfoArg)
serverInfoArg - object with the information about connected serverpublic void setParameters(java.util.HashMap<java.lang.String,java.lang.String> paramsArg)
paramsArg - the server capabilitiespublic boolean isSecureConnection()
true if the connection is secured and false if it is notpublic java.lang.String getServerAlias()
public java.lang.String getServerHost()
public int getServerPort()
public com.milestonesys.xpmobilesdk.communication.ServerInfo getServer()
public boolean isNativeStreamingRequired()
public boolean hasSupportsExtendedResampling()
true if the server supports extended resampling and false if not