@PublicAPI
public interface IRMClient
Modifier and Type | Method and Description |
---|---|
ConnectionInfo |
getConnectionInfo()
Returns the connection info, if initialized previously
|
String |
getSession()
Retrieves the current session identifier, or null if the session was not initialized yet.
|
void |
init(ConnectionInfo connectionInfo)
Initialize this instance.
|
void |
setSession(String sid)
Sets the session identifier explicitly.
|
void init(ConnectionInfo connectionInfo) throws Exception
connectionInfo
- various info about the connection attemptException
- if an error occurs during the initializationConnectionInfo getConnectionInfo()
void setSession(String sid)
sid
- session identifierString getSession()