public class RemoteEndpointImpl extends Object implements javax.websocket.RemoteEndpoint
| Modifier and Type | Class and Description |
|---|---|
static class |
RemoteEndpointImpl.Async |
static class |
RemoteEndpointImpl.Basic |
| Constructor and Description |
|---|
RemoteEndpointImpl(SessionImpl session,
WebSocket webSocket,
javax.websocket.Endpoint endpoint,
javax.websocket.EndpointConfig endpointConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
flushBatch() |
boolean |
getBatchingAllowed() |
HashMap<Class<?>,EncoderHandler<?>> |
getEncoderHandlerMap() |
javax.websocket.Endpoint |
getEndpoint() |
SessionImpl |
getSession() |
WebSocket |
getWebSocket() |
void |
sendPing(ByteBuffer applicationData) |
void |
sendPong(ByteBuffer applicationData) |
void |
setBatchingAllowed(boolean allowed) |
public RemoteEndpointImpl(SessionImpl session, WebSocket webSocket, javax.websocket.Endpoint endpoint, javax.websocket.EndpointConfig endpointConfig)
public SessionImpl getSession()
public WebSocket getWebSocket()
public javax.websocket.Endpoint getEndpoint()
public HashMap<Class<?>,EncoderHandler<?>> getEncoderHandlerMap()
public boolean getBatchingAllowed()
getBatchingAllowed in interface javax.websocket.RemoteEndpointpublic void setBatchingAllowed(boolean allowed)
setBatchingAllowed in interface javax.websocket.RemoteEndpointpublic void flushBatch()
flushBatch in interface javax.websocket.RemoteEndpointpublic void sendPing(ByteBuffer applicationData) throws IOException
sendPing in interface javax.websocket.RemoteEndpointIOExceptionpublic void sendPong(ByteBuffer applicationData) throws IOException
sendPong in interface javax.websocket.RemoteEndpointIOExceptionCopyright © 2017. All rights reserved.