Package | Description |
---|---|
org.snf4j.core.codec |
Provides interfaces and classes for implementing encoders, decoders and
codec pipelines.
|
org.snf4j.core.codec.zip | |
org.snf4j.core.session |
Provides classes and interfaces used for session handling.
|
org.snf4j.websocket |
Provides main interfaces and classes implementing the functionalities of the
Web Socket protocol.
|
org.snf4j.websocket.extensions |
Provides interfaces and classes for implementation of Web Socket extensions.
|
org.snf4j.websocket.extensions.compress |
Provides interfaces and classes implementing the Web Socket compress extensions.
|
org.snf4j.websocket.handshake |
Provides interfaces and classes for the Web Socket handshake frames and related codecs.
|
Modifier and Type | Method and Description |
---|---|
ICodecPipeline |
ICodecExecutor.getPipeline()
Returns the codec pipeline that is associated with this codec executor.
|
ICodecPipeline |
DefaultCodecExecutor.getPipeline() |
Modifier and Type | Method and Description |
---|---|
void |
IEventDrivenCodec.added(ISession session,
ICodecPipeline pipeline)
Signals that the codec has been added to the pipeline associated with a
session.
|
void |
EventDrivenCompoundEncoder.added(ISession session,
ICodecPipeline pipeline) |
void |
EventDrivenCompoundDecoder.added(ISession session,
ICodecPipeline pipeline) |
void |
IEventDrivenCodec.removed(ISession session,
ICodecPipeline pipeline)
Signals that the codec has been removed from the pipeline associated with a
session.
|
void |
EventDrivenCompoundEncoder.removed(ISession session,
ICodecPipeline pipeline) |
void |
EventDrivenCompoundDecoder.removed(ISession session,
ICodecPipeline pipeline) |
Modifier and Type | Method and Description |
---|---|
void |
ZlibEncoder.added(ISession session,
ICodecPipeline pipeline)
Does nothing.
|
void |
ZlibDecoder.added(ISession session,
ICodecPipeline pipeline)
Does nothing.
|
void |
ZlibEncoder.removed(ISession session,
ICodecPipeline pipeline)
Does nothing.
|
void |
ZlibDecoder.removed(ISession session,
ICodecPipeline pipeline)
Does nothing.
|
Modifier and Type | Method and Description |
---|---|
ICodecPipeline |
ISession.getCodecPipeline()
Gets the codec pipeline that is associated with this session.
|
ICodecPipeline |
ISctpSession.getCodecPipeline(Object identifier)
Gets the codec pipeline that is associated with this session and is
identified by the given identifier.
|
Modifier and Type | Method and Description |
---|---|
void |
IWebSocketSessionConfig.switchDecoders(ICodecPipeline pipeline,
boolean allowExtensions)
Called when the decoders in the codec pipeline should be switched after
finishing of the Web Socket handshake.
|
void |
DefaultWebSocketSessionConfig.switchDecoders(ICodecPipeline pipeline,
boolean allowExtensions) |
void |
IWebSocketSessionConfig.switchEncoders(ICodecPipeline pipeline,
boolean allowExtensions)
Called when the encoders in the codec pipeline should be switched after
finishing of the Web Socket handshake.
|
void |
DefaultWebSocketSessionConfig.switchEncoders(ICodecPipeline pipeline,
boolean allowExtensions) |
Modifier and Type | Method and Description |
---|---|
void |
IExtension.updateDecoders(ICodecPipeline pipeline)
Called to update the decoder pipeline.
|
void |
IExtension.updateEncoders(ICodecPipeline pipeline)
Called to update the encoder pipeline.
|
Modifier and Type | Method and Description |
---|---|
void |
PerMessageDeflateExtension.updateDecoders(ICodecPipeline pipeline) |
void |
PerMessageDeflateExtension.updateEncoders(ICodecPipeline pipeline) |
protected void |
PerMessageDeflateExtension.updatePipeline(ICodecPipeline pipeline,
IDecoder<Frame,Frame> decoder) |
protected void |
PerMessageDeflateExtension.updatePipeline(ICodecPipeline pipeline,
IEncoder<Frame,Frame> encoder) |
Modifier and Type | Method and Description |
---|---|
void |
HandshakeEncoder.added(ISession session,
ICodecPipeline pipeline) |
void |
HandshakeEncoder.removed(ISession session,
ICodecPipeline pipeline) |
void |
IHandshaker.updateExtensionDecoders(ICodecPipeline pipeline)
Called to updated the pipeline decoders based on the negotiated extensions
|
void |
Handshaker.updateExtensionDecoders(ICodecPipeline pipeline) |
void |
IHandshaker.updateExtensionEncoders(ICodecPipeline pipeline)
Called to updated the pipeline encoders based on the negotiated extensions
|
void |
Handshaker.updateExtensionEncoders(ICodecPipeline pipeline) |
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.