MessageSelector
class StoreMessageSelector extends java.lang.Object implements MessageSelector
コンストラクタ | 説明 |
---|---|
StoreMessageSelector(RouterContext ctx,
long storeJobId,
RouterInfo peer,
long waitingForId,
long expiration) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
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.
|
java.lang.String |
toString() |
public StoreMessageSelector(RouterContext ctx, long storeJobId, RouterInfo peer, long waitingForId, long expiration)
storeJobId
- just for loggingpeer
- just for loggingpublic boolean continueMatching()
MessageSelector
continueMatching
インタフェース内 MessageSelector
public long getExpiration()
MessageSelector
getExpiration
インタフェース内 MessageSelector
public boolean isMatch(I2NPMessage message)
MessageSelector
isMatch
インタフェース内 MessageSelector
public java.lang.String toString()
toString
クラス内 java.lang.Object