|
GigaSpaces XAP 9.7.2 API | |||||||||
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()
Return the network max block size |
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 |
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
- source bufferdst
- target buffer
IOFilterException
com.gigaspaces.lrmi.nio.filters.IOFilterResult unwrap(ByteBuffer src, ByteBuffer dst) throws com.gigaspaces.lrmi.nio.filters.IOFilterException
src
- source bufferdst
- target buffer
IOFilterException
int getApplicationBufferSize()
int getPacketBufferSize()
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |