Raritan PX2/PX3 JSON-RPC API
SessionManager.idl
1 
4 module session {
5 
7  structure Session_2_0_0 {
8  int sessionId;
9  string username;
10  string remoteIp;
11  string clientType;
12  time creationTime;
13  int timeout;
14  int idle;
15  int userIdle;
16  };
17 
19  structure HistoryEntry {
20  time creationTime;
21  string remoteIp;
22  string clientType;
23  };
24 
50 
51  constant int ERR_ACTIVE_SESSION_EXCLUSIVE_FOR_USER = 1;
52 
54  enumeration CloseReason {
58  CLOSE_REASON_FORCED_DISCONNECT
59  };
60 
74  int newSession(out Session_2_0_0 session, out string token);
75 
83  Session_2_0_0 getCurrentSession();
84 
90  vector<Session_2_0_0> getSessions();
91 
98  void closeSession(in int sessionId, in CloseReason reason);
99 
107  void closeCurrentSession(in CloseReason reason);
108 
119  void touchCurrentSession(in boolean userActivity);
120 
126  vector<HistoryEntry> getSessionHistory();
127  };
128 
129 }
Session timed out.
Definition: SessionManager.idl:56
Session manager interface
Definition: SessionManager.idl:49
string remoteIp
Session IP address.
Definition: SessionManager.idl:21
Regular logout.
Definition: SessionManager.idl:55
string username
Name of user owning the session.
Definition: SessionManager.idl:9
Browser window was closed.
Definition: SessionManager.idl:57
int sessionId
ID of the session.
Definition: SessionManager.idl:8
CloseReason
Session close reasons
Definition: SessionManager.idl:54
int timeout
Session timeout in seconds.
Definition: SessionManager.idl:13
string remoteIp
Session IP address.
Definition: SessionManager.idl:10
string clientType
Session client type.
Definition: SessionManager.idl:22
time creationTime
Session creation timestamp.
Definition: SessionManager.idl:12
string clientType
Client type.
Definition: SessionManager.idl:11
time creationTime
Session creation timestamp.
Definition: SessionManager.idl:20
Session information
Definition: SessionManager.idl:7
int userIdle
User idle time in seconds.
Definition: SessionManager.idl:15
Session Management
Definition: SessionManager.idl:4
int idle
Session idle time in seconds.
Definition: SessionManager.idl:14
Session history entry
Definition: SessionManager.idl:19