|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IOBlockFilter
Interface for block type network filters. Block network filter is filter that works in blocks. It have network buffer size and packet buffer size that the define the max block size for each direction.
Method Summary | |
---|---|
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. |
com.gigaspaces.lrmi.nio.filters.IOFilterResult.HandshakeStatus |
getHandshakeStatus()
Report the Hanshake status. |
int |
getPacketBufferSize()
|
com.gigaspaces.lrmi.nio.filters.IOFilterResult |
unwrap(ByteBuffer src,
ByteBuffer dst)
Unwrap some bytes |
com.gigaspaces.lrmi.nio.filters.IOFilterResult |
wrap(ByteBuffer src,
ByteBuffer dst)
Wrap some bytes |
Methods inherited from interface com.gigaspaces.lrmi.nio.filters.IOFilter |
---|
setRemoteAddress |
Method Detail |
---|
void beginHandshake() throws com.gigaspaces.lrmi.nio.filters.IOFilterException
IOFilterException
Runnable getDelegatedTask()
com.gigaspaces.lrmi.nio.filters.IOFilterResult.HandshakeStatus getHandshakeStatus()
com.gigaspaces.lrmi.nio.filters.IOFilterResult wrap(ByteBuffer src, ByteBuffer dst) throws com.gigaspaces.lrmi.nio.filters.IOFilterException
src
- dst
-
IOFilterException
com.gigaspaces.lrmi.nio.filters.IOFilterResult unwrap(ByteBuffer src, ByteBuffer dst) throws com.gigaspaces.lrmi.nio.filters.IOFilterException
src
- dst
-
IOFilterException
int getApplicationBufferSize()
int getPacketBufferSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |