-
- All Superinterfaces:
FlowContext
,IpContext
- All Known Implementing Classes:
AbstractWarpClient
,WebSocketModem
public interface WebSocketContext<I,O> extends IpContext, FlowContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
become(IpSocket socket)
void
close()
<I2 extends I>
voidread(Decoder<I2> payloadDecoder)
<I2 extends I>
voidread(WsOpcode frameType, Decoder<I2> payloadDecoder)
<O2 extends O>
voidwrite(WsControlFrame<?,O2> frame)
<O2 extends O>
voidwrite(WsDataFrame<O2> frame)
WsSettings
wsSettings()
-
Methods inherited from interface swim.io.FlowContext
flowControl, flowControl, flowControl
-
Methods inherited from interface swim.io.IpContext
cipherSuite, isClient, isConnected, isSecure, isServer, localAddress, localCertificates, localPrincipal, remoteAddress, remoteCertificates, remotePrincipal, securityProtocol
-
-
-
-
Method Detail
-
wsSettings
WsSettings wsSettings()
-
write
<O2 extends O> void write(WsDataFrame<O2> frame)
-
write
<O2 extends O> void write(WsControlFrame<?,O2> frame)
-
become
void become(IpSocket socket)
-
close
void close()
-
-