Class JettyWebSocketRemoteEndpoint
java.lang.Object
org.eclipse.jetty.websocket.common.JettyWebSocketRemoteEndpoint
- All Implemented Interfaces:
org.eclipse.jetty.websocket.api.RemoteEndpoint
public class JettyWebSocketRemoteEndpoint
extends Object
implements org.eclipse.jetty.websocket.api.RemoteEndpoint
-
Constructor Summary
ConstructorsConstructorDescriptionJettyWebSocketRemoteEndpoint(org.eclipse.jetty.websocket.core.CoreSession coreSession, org.eclipse.jetty.websocket.api.BatchMode batchMode) -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()org.eclipse.jetty.websocket.api.BatchModeintvoidsendBytes(ByteBuffer data) voidsendBytes(ByteBuffer data, org.eclipse.jetty.websocket.api.WriteCallback callback) voidsendPartialBytes(ByteBuffer fragment, boolean isLast) voidsendPartialBytes(ByteBuffer fragment, boolean isLast, org.eclipse.jetty.websocket.api.WriteCallback callback) voidsendPartialString(String fragment, boolean isLast) voidsendPartialString(String fragment, boolean isLast, org.eclipse.jetty.websocket.api.WriteCallback callback) voidsendPing(ByteBuffer applicationData) voidsendPing(ByteBuffer applicationData, org.eclipse.jetty.websocket.api.WriteCallback callback) voidsendPong(ByteBuffer applicationData) voidsendPong(ByteBuffer applicationData, org.eclipse.jetty.websocket.api.WriteCallback callback) voidsendString(String text) voidsendString(String text, org.eclipse.jetty.websocket.api.WriteCallback callback) voidsetBatchMode(org.eclipse.jetty.websocket.api.BatchMode mode) voidsetMaxOutgoingFrames(int maxOutgoingFrames)
-
Constructor Details
-
JettyWebSocketRemoteEndpoint
public JettyWebSocketRemoteEndpoint(org.eclipse.jetty.websocket.core.CoreSession coreSession, org.eclipse.jetty.websocket.api.BatchMode batchMode)
-
-
Method Details
-
sendString
- Specified by:
sendStringin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint- Throws:
IOException
-
sendString
- Specified by:
sendStringin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint
-
sendBytes
- Specified by:
sendBytesin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint- Throws:
IOException
-
sendBytes
- Specified by:
sendBytesin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint
-
sendPartialBytes
- Specified by:
sendPartialBytesin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint- Throws:
IOException
-
sendPartialBytes
public void sendPartialBytes(ByteBuffer fragment, boolean isLast, org.eclipse.jetty.websocket.api.WriteCallback callback) - Specified by:
sendPartialBytesin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint
-
sendPartialString
- Specified by:
sendPartialStringin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint- Throws:
IOException
-
sendPartialString
public void sendPartialString(String fragment, boolean isLast, org.eclipse.jetty.websocket.api.WriteCallback callback) - Specified by:
sendPartialStringin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint
-
sendPing
- Specified by:
sendPingin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint- Throws:
IOException
-
sendPing
public void sendPing(ByteBuffer applicationData, org.eclipse.jetty.websocket.api.WriteCallback callback) - Specified by:
sendPingin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint
-
sendPong
- Specified by:
sendPongin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint- Throws:
IOException
-
sendPong
public void sendPong(ByteBuffer applicationData, org.eclipse.jetty.websocket.api.WriteCallback callback) - Specified by:
sendPongin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint
-
getBatchMode
public org.eclipse.jetty.websocket.api.BatchMode getBatchMode()- Specified by:
getBatchModein interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint
-
setBatchMode
public void setBatchMode(org.eclipse.jetty.websocket.api.BatchMode mode) - Specified by:
setBatchModein interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint
-
getMaxOutgoingFrames
public int getMaxOutgoingFrames()- Specified by:
getMaxOutgoingFramesin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint
-
setMaxOutgoingFrames
public void setMaxOutgoingFrames(int maxOutgoingFrames) - Specified by:
setMaxOutgoingFramesin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint
-
getRemoteAddress
- Specified by:
getRemoteAddressin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint
-
flush
- Specified by:
flushin interfaceorg.eclipse.jetty.websocket.api.RemoteEndpoint- Throws:
IOException
-