|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.guacamole.servlet.GuacamoleSession
public class GuacamoleSession
Provides abstract access to the tunnels associated with a Guacamole session.
Constructor Summary | |
---|---|
GuacamoleSession(javax.servlet.http.HttpSession session)
Creates a new GuacamoleSession, storing and retrieving tunnels from the given HttpSession. |
Method Summary | |
---|---|
void |
attachTunnel(GuacamoleTunnel tunnel)
Attaches the given tunnel to this GuacamoleSession. |
void |
detachTunnel(GuacamoleTunnel tunnel)
Detaches the given tunnel to this GuacamoleSession. |
GuacamoleTunnel |
getTunnel(String tunnelUUID)
Returns the tunnel with the given UUID attached to this GuacamoleSession, if any. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GuacamoleSession(javax.servlet.http.HttpSession session) throws GuacamoleException
session
- The HttpSession to use as tunnel storage.
GuacamoleException
- If session is null.Method Detail |
---|
public void attachTunnel(GuacamoleTunnel tunnel)
tunnel
- The tunnel to attach to this GucacamoleSession.public void detachTunnel(GuacamoleTunnel tunnel)
tunnel
- The tunnel to detach to this GucacamoleSession.public GuacamoleTunnel getTunnel(String tunnelUUID)
tunnelUUID
- The UUID of an attached tunnel.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |