|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.i2p.router.networkdb.kademlia.SearchMessageSelector
class SearchMessageSelector
Check to see the message is a reply from the peer regarding the current search
| Constructor Summary | |
|---|---|
SearchMessageSelector(RouterContext context,
RouterInfo peer,
long expiration,
SearchState state)
|
|
| Method Summary | |
|---|---|
boolean |
continueMatching()
Returns true if the selector should still keep searching for further matches. |
long |
getExpiration()
Returns the # of milliseconds since the epoch after which this selector should stop searching for matches. |
boolean |
isMatch(I2NPMessage message)
Returns true if the received message matches the selector. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SearchMessageSelector(RouterContext context,
RouterInfo peer,
long expiration,
SearchState state)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic boolean continueMatching()
MessageSelector
continueMatching in interface MessageSelectorpublic long getExpiration()
MessageSelector
getExpiration in interface MessageSelectorpublic boolean isMatch(I2NPMessage message)
MessageSelector
isMatch in interface MessageSelector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||