public class GuacamoleSession extends Object
Constructor and Description |
---|
GuacamoleSession(javax.servlet.http.HttpSession session)
Creates a new GuacamoleSession, storing and retrieving tunnels from the
given HttpSession.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public GuacamoleSession(javax.servlet.http.HttpSession session) throws GuacamoleException
session
- The HttpSession to use as tunnel storage.GuacamoleException
- If session is null.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.Copyright © 2013. All rights reserved.