public class GuacamoleSession extends Object
| Constructor and Description |
|---|
GuacamoleSession(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(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 © 2015. All rights reserved.