|
VLab Common 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.psnc.vlab.remote.session.VlabSessionRemoteImpl
public class VlabSessionRemoteImpl
VlabSessionRemoteImpl class - implementation of the interface to the
VLab Communication Proxy module (which is written in C). It allows sending
messages to the VLab sytem.
| Constructor Summary | |
|---|---|
VlabSessionRemoteImpl()
|
|
| Method Summary | |
|---|---|
SessionValue |
getAppSession(java.lang.String sessionKey)
Retrieve session information by the given session key |
byte[] |
getUserProxy(int userId)
Get the user proxy |
boolean |
isSessionValid(java.lang.String sessionKey)
Checks whether the current session is valid. |
boolean |
removeSession(java.lang.String sessionKey)
Deletes session from the database by the given session key |
boolean |
updateSession(java.lang.String sessionKey)
Updates timestamp in the current session |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VlabSessionRemoteImpl()
throws VlabException
VlabException| Method Detail |
|---|
public SessionValue getAppSession(java.lang.String sessionKey)
throws VlabException
getAppSession in interface VlabSessionRemotesessionKey - session key
VlabException - VLabException indicates an exception which may
occur during call
public boolean isSessionValid(java.lang.String sessionKey)
throws VlabException
isSessionValid in interface VlabSessionRemotesessionKey - session key
true if the session is valid false
otherwise
VlabException - VLabException indicates an exception which may
occur during call
public boolean removeSession(java.lang.String sessionKey)
throws VlabException
removeSession in interface VlabSessionRemotesessionKey - session key
true if the operation succeeds false
otherwise
VlabException - VLabException indicates an exception which may
occur during call
public boolean updateSession(java.lang.String sessionKey)
throws VlabException
updateSession in interface VlabSessionRemotesessionKey - session key
true if the operation succeeds false
otherwise
VlabException - VLabException indicates an exception which may
occur during call
public byte[] getUserProxy(int userId)
throws VlabException
getUserProxy in interface VlabSessionRemoteuserId -
VlabException - indicates an exception which may occur during call
|
VLab Common 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||