public interface IOBlockFilter extends IOFilter
Modifier and Type | Method and Description |
---|---|
void |
beginHandshake()
Initiation of handshake process.
|
int |
getApplicationBufferSize()
Return the application max block size
|
Runnable |
getDelegatedTask()
When filter wish to do some calculation this is the way to handle the calculation code to the
filter container.
|
IOFilterResult.HandshakeStatus |
getHandshakeStatus()
Report the Hanshake status.
|
int |
getPacketBufferSize()
Return the network max block size
|
IOFilterResult |
unwrap(ByteBuffer src,
ByteBuffer dst)
Unwrap some bytes
|
IOFilterResult |
wrap(ByteBuffer src,
ByteBuffer dst)
Wrap some bytes
|
void beginHandshake() throws IOFilterException
IOFilterException
Runnable getDelegatedTask()
IOFilterResult.HandshakeStatus getHandshakeStatus()
IOFilterResult wrap(ByteBuffer src, ByteBuffer dst) throws IOFilterException
src
- source bufferdst
- target bufferIOFilterException
IOFilterResult unwrap(ByteBuffer src, ByteBuffer dst) throws IOFilterException
src
- source bufferdst
- target bufferIOFilterException
int getApplicationBufferSize()
int getPacketBufferSize()
Copyright © GigaSpaces.