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.RemoteEndpoint
IOException
public void sendPong(ByteBuffer applicationData) throws IOException
sendPong
in interface javax.websocket.RemoteEndpoint
IOException
public void setBatchingAllowed(boolean allowed)
setBatchingAllowed
in interface javax.websocket.RemoteEndpoint
public boolean getBatchingAllowed()
getBatchingAllowed
in interface javax.websocket.RemoteEndpoint
public void flushBatch()
flushBatch
in interface javax.websocket.RemoteEndpoint
public void close(javax.websocket.CloseReason cr)
Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.