public abstract class GuacamoleWebSocketTunnelEndpoint
extends Endpoint
| Constructor and Description |
|---|
GuacamoleWebSocketTunnelEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract GuacamoleTunnel |
createTunnel(Session session,
EndpointConfig config)
Returns a new tunnel for the given session.
|
void |
onClose(Session session,
CloseReason closeReason) |
void |
onMessage(String message) |
void |
onOpen(Session session,
EndpointConfig config) |
protected abstract GuacamoleTunnel createTunnel(Session session, EndpointConfig config) throws GuacamoleException
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.public void onOpen(Session session,
EndpointConfig config)
public void onMessage(String message)
public void onClose(Session session,
CloseReason closeReason)
Copyright © 2015. All rights reserved.