public class BasicGuacamoleWebSocketTunnelEndpoint extends GuacamoleWebSocketTunnelEndpoint
Modifier and Type | Class and Description |
---|---|
static class |
BasicGuacamoleWebSocketTunnelEndpoint.Configurator
Configurator implementation which stores the requested GuacamoleTunnel
within the user properties.
|
Constructor and Description |
---|
BasicGuacamoleWebSocketTunnelEndpoint() |
Modifier and Type | Method and Description |
---|---|
protected GuacamoleTunnel |
createTunnel(javax.websocket.Session session,
javax.websocket.EndpointConfig config)
Returns a new tunnel for the given session.
|
onClose, onMessage, onOpen
public BasicGuacamoleWebSocketTunnelEndpoint()
protected GuacamoleTunnel createTunnel(javax.websocket.Session session, javax.websocket.EndpointConfig config) throws GuacamoleException
GuacamoleWebSocketTunnelEndpoint
createTunnel
in class GuacamoleWebSocketTunnelEndpoint
session
- The session associated with the active WebSocket
connection.config
- Configuration information associated with the instance of
the endpoint created for handling this single connection.GuacamoleException
- If an error occurs while retrieving the
tunnel, or if access to the tunnel is denied.Copyright © 2017. All rights reserved.