|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SessionInformation
Field Summary | |
---|---|
static int |
JOIN_MODE_ALL_CONTROL
|
static int |
JOIN_MODE_ONE_CONTROL
|
static int |
SESSION_STATUS_CLIENT_DISCONNECTED
|
static int |
SESSION_STATUS_CONNECTED
|
static int |
SESSION_STATUS_LOGOFF
|
static int |
SESSION_STATUS_SERVER_DISCONNECTED
|
static int |
SESSION_STATUS_UNKOWN
|
static int |
TYPE_RDP
|
static int |
TYPE_SSH
|
static int |
TYPE_VNC
|
Method Summary | |
---|---|
void |
allowJoin(boolean allow)
enable/disable session shadowing on this session |
java.util.Map<java.lang.String,java.lang.String> |
getClientProperties()
|
com.toremote.gateway.SessionConfig |
getConfig()
|
InputInterface |
getInput()
|
java.util.List<SessionInformation> |
getJoinedSessions()
|
int |
getJoinMode()
|
int |
getNumericId()
|
SessionInformation |
getParent()
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
|
java.lang.String |
getRecordingFile()
get recording file path |
SessionSaveInfo |
getSaveSession()
|
int |
getSessioinType()
|
java.lang.String |
getSessionId()
|
int |
getSessionStatus()
|
User |
getUser()
|
void |
giveControl()
give control to current session too, be aware it doesn't take control from others |
boolean |
hasControl()
|
void |
refuseControl()
reufce contorl request |
void |
requestControl(SessionInformation from)
request control from the seeion which has contorl |
void |
requestJoin(SessionInformation from)
|
void |
setJoinMode(int mode)
set up shadowing/join mode |
void |
setListener(SessionListener listener)
|
void |
setSaveSession(SessionSaveInfo si)
control if save(cache) the session on gateway |
void |
setThumbnail(int width,
int interval)
|
void |
showMessge(java.lang.String message)
send message to client |
void |
takeBackControl()
revoke control from current session |
Field Detail |
---|
static final int SESSION_STATUS_UNKOWN
static final int SESSION_STATUS_CONNECTED
static final int SESSION_STATUS_CLIENT_DISCONNECTED
static final int SESSION_STATUS_SERVER_DISCONNECTED
static final int SESSION_STATUS_LOGOFF
static final int JOIN_MODE_ALL_CONTROL
static final int JOIN_MODE_ONE_CONTROL
static final int TYPE_RDP
static final int TYPE_VNC
static final int TYPE_SSH
Method Detail |
---|
int getSessioinType()
java.lang.String getSessionId()
int getNumericId()
User getUser()
com.toremote.gateway.SessionConfig getConfig()
java.util.Map<java.lang.String,java.lang.String> getProperties()
java.util.Map<java.lang.String,java.lang.String> getClientProperties()
java.lang.String getRecordingFile()
SessionInformation getParent()
java.util.List<SessionInformation> getJoinedSessions()
boolean hasControl()
void giveControl() throws java.io.IOException
java.io.IOException
int getJoinMode()
void setJoinMode(int mode) throws java.io.IOException, com.toremote.websocket.handler.AccessException
mode
-
java.io.IOException
com.toremote.websocket.handler.AccessException
void takeBackControl() throws java.io.IOException
java.io.IOException
void requestControl(SessionInformation from) throws java.io.IOException
from
-
java.io.IOException
void requestJoin(SessionInformation from) throws java.io.IOException
java.io.IOException
void refuseControl() throws java.io.IOException
java.io.IOException
void showMessge(java.lang.String message) throws java.io.IOException
message
-
java.io.IOException
InputInterface getInput()
void setListener(SessionListener listener)
listener
- session listnerSessionListener
void setThumbnail(int width, int interval) throws java.io.IOException
width
- width of thumbnail, 0 will disable thumbnailinterval
- 0 will disable thumbnail
java.io.IOException
void setSaveSession(SessionSaveInfo si)
si
- SessionSaveInfo
SessionSaveInfo getSaveSession()
int getSessionStatus()
void allowJoin(boolean allow) throws java.lang.Exception
allow
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |