|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VlabSessionRemote
This it the interface to the VLab Comunnication Proxy module (which is written in C). It allows sending messages to the VLab sytem.
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 |
Method Detail |
---|
SessionValue getAppSession(java.lang.String sessionKey) throws VlabException
sessionKey
- session key
VlabException
- indicates an exception which may occur during callboolean isSessionValid(java.lang.String sessionKey) throws VlabException
sessionKey
- session key
true
if the session is valid false
otherwise
VlabException
- indicates an exception which may occur during callboolean removeSession(java.lang.String sessionKey) throws VlabException
sessionKey
- session key
true
if the operation succeeds false
otherwise
VlabException
- indicates an exception which may occur during callboolean updateSession(java.lang.String sessionKey) throws VlabException
sessionKey
- session key
true
if the operation succeeds false
otherwise
VlabException
- indicates an exception which may occur during callbyte[] getUserProxy(int userId) throws VlabException
userId
-
VlabException
- indicates an exception which may occur during call
|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |