public abstract class TyrusRemoteEndpoint
extends java.lang.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(java.nio.ByteBuffer applicationData) |
void |
sendPong(java.nio.ByteBuffer applicationData) |
void |
setBatchingAllowed(boolean allowed) |
java.lang.String |
toString() |
public void sendPing(java.nio.ByteBuffer applicationData)
throws java.io.IOException
sendPing in interface javax.websocket.RemoteEndpointjava.io.IOExceptionpublic void sendPong(java.nio.ByteBuffer applicationData)
throws java.io.IOException
sendPong in interface javax.websocket.RemoteEndpointjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic 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–2020 Oracle Corporation. All rights reserved.