public abstract class TyrusRemoteEndpoint extends Object implements javax.websocket.RemoteEndpoint
RemoteEndpoint and represents the other side of the websocket connection.| Modifier and Type | Method and Description |
|---|---|
void |
close(javax.websocket.CloseReason cr) |
void |
flushBatch() |
boolean |
getBatchingAllowed() |
void |
sendPing(ByteBuffer applicationData) |
void |
sendPong(ByteBuffer applicationData) |
void |
setBatchingAllowed(boolean allowed) |
String |
toString() |
public void sendPing(ByteBuffer applicationData) throws IOException
sendPing in interface javax.websocket.RemoteEndpointIOExceptionpublic void sendPong(ByteBuffer applicationData) throws IOException
sendPong in interface javax.websocket.RemoteEndpointIOExceptionpublic void setBatchingAllowed(boolean allowed)
setBatchingAllowed in interface javax.websocket.RemoteEndpointpublic boolean getBatchingAllowed()
getBatchingAllowed in interface javax.websocket.RemoteEndpointpublic void flushBatch()
flushBatch in interface javax.websocket.RemoteEndpointpublic void close(javax.websocket.CloseReason cr)
Copyright © 2012–2019 Oracle Corporation. All rights reserved.