Package | Description |
---|---|
org.snf4j.core.engine |
Provides interfaces and classes for implementing protocol engines.
|
org.snf4j.example.engine |
A custimized protocol engine (for Caesar Cipher) client/server example.
|
Modifier and Type | Class and Description |
---|---|
class |
EngineResult
The default implementation of the
IEngineResult interface. |
Modifier and Type | Method and Description |
---|---|
IEngineResult |
IEngine.unwrap(ByteBuffer src,
ByteBuffer dst)
Attempts to encode inbound network data from a data buffer into inbound
application data.
|
IEngineResult |
IEngine.wrap(ByteBuffer[] srcs,
ByteBuffer dst)
Attempts to encode outbound application data from a subsequence of data buffers
into outbound network data.
|
IEngineResult |
IEngine.wrap(ByteBuffer src,
ByteBuffer dst)
Attempts to encode outbound application data from a data buffer into outbound
network data.
|
Modifier and Type | Method and Description |
---|---|
protected IEngineResult |
BasicEngine.closeUnwrap(ByteBuffer dst) |
protected IEngineResult |
CloseableEngine.closeWrap(ByteBuffer dst) |
protected IEngineResult |
BasicEngine.closeWrap(ByteBuffer dst) |
IEngineResult |
HandshakingEngine.preUnwrap(ByteBuffer src,
ByteBuffer dst) |
protected IEngineResult |
BasicEngine.preUnwrap(ByteBuffer src,
ByteBuffer dst) |
IEngineResult |
HandshakingEngine.preWrap(ByteBuffer[] srcs,
ByteBuffer dst) |
protected IEngineResult |
BasicEngine.preWrap(ByteBuffer[] srcs,
ByteBuffer dst) |
IEngineResult |
BasicEngine.unwrap(ByteBuffer src,
ByteBuffer dst) |
protected IEngineResult |
AbstractEngine.updateHandshakeStatus(IEngineResult result) |
IEngineResult |
BasicEngine.wrap(ByteBuffer[] srcs,
ByteBuffer dst) |
IEngineResult |
AbstractEngine.wrap(ByteBuffer src,
ByteBuffer dst) |
Modifier and Type | Method and Description |
---|---|
protected IEngineResult |
AbstractEngine.updateHandshakeStatus(IEngineResult result) |
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.