|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface NetworkManager.ByteMatcher
Byte stream match filter for routing.
Method Summary | |
---|---|
byte[][] |
getSharedSecrets()
|
int |
getSpecificPort()
|
Object |
matches(TransportHelper transport,
ByteBuffer to_compare,
int port)
Check byte stream for match. |
int |
matchThisSizeOrBigger()
Number of bytes of buffer at or beyond which the "match" method will be called to test for a match |
int |
maxSize()
Get the max number of bytes this matcher requires. |
Object |
minMatches(TransportHelper transport,
ByteBuffer to_compare,
int port)
Check for a minimum match |
int |
minSize()
Get the minimum number of bytes required to determine if this matcher applies |
Method Detail |
---|
int matchThisSizeOrBigger()
int maxSize()
int minSize()
Object matches(TransportHelper transport, ByteBuffer to_compare, int port)
address
- the originator of the connectionto_compare
-
Object minMatches(TransportHelper transport, ByteBuffer to_compare, int port)
to_compare
-
byte[][] getSharedSecrets()
int getSpecificPort()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |