T
- remote service interface typepublic abstract class WebSocketEndpoint<T>
extends javax.websocket.Endpoint
Constructor and Description |
---|
WebSocketEndpoint() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
configure(org.eclipse.lsp4j.jsonrpc.Launcher.Builder<T> builder)
Configure the JSON-RPC launcher.
|
protected void |
connect(java.util.Collection<java.lang.Object> localServices,
T remoteProxy)
Override this in order to connect the local services to the remote service proxy.
|
void |
onOpen(javax.websocket.Session session,
javax.websocket.EndpointConfig config) |
public void onOpen(javax.websocket.Session session, javax.websocket.EndpointConfig config)
onOpen
in class javax.websocket.Endpoint
protected abstract void configure(org.eclipse.lsp4j.jsonrpc.Launcher.Builder<T> builder)
local service
and the
remote interface
.protected void connect(java.util.Collection<java.lang.Object> localServices, T remoteProxy)