| Modifier and Type | Method and Description |
|---|---|
abstract javax.websocket.Session |
SPIEndpoint.createSessionForRemoteEndpoint(SPIRemoteEndpoint re,
String subprotocol,
List<javax.websocket.Extension> extensions)
Creates a Session based on the
SPIRemoteEndpoint, subprotocols and extensions. |
abstract void |
SPIEndpoint.onClose(SPIRemoteEndpoint gs,
javax.websocket.CloseReason closeReason)
Called by the provider when the web socket connection
to the given remote endpoint has just closed.
|
abstract void |
SPIEndpoint.onConnect(SPIRemoteEndpoint gs,
String subprotocol,
List<javax.websocket.Extension> extensions)
Called by the provider when the web socket connection
is established.
|
abstract void |
SPIEndpoint.onMessage(SPIRemoteEndpoint gs,
ByteBuffer bytes)
Called by the provider when the web socket connection
has an incoming binary message from the given remote endpoint.
|
abstract void |
SPIEndpoint.onMessage(SPIRemoteEndpoint gs,
String messageString)
Called by the provider when the web socket connection
has an incoming text message from the given remote endpoint.
|
abstract void |
SPIEndpoint.onPartialMessage(SPIRemoteEndpoint gs,
ByteBuffer partialBytes,
boolean last)
Called by the provider when the web socket connection
has an incoming partial binary message from the given remote endpoint.
|
abstract void |
SPIEndpoint.onPartialMessage(SPIRemoteEndpoint gs,
String partialString,
boolean last)
Called by the provider when the web socket connection
has an incoming partial text message from the given remote endpoint.
|
abstract void |
SPIEndpoint.onPing(SPIRemoteEndpoint gs,
ByteBuffer bytes)
Called by the provider when the web socket connection
has an incoming ping message from the given remote endpoint.
|
abstract void |
SPIEndpoint.onPong(SPIRemoteEndpoint gs,
ByteBuffer bytes)
Called by the provider when the web socket connection
has an incoming pong message from the given remote endpoint.
|
Copyright © 2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.