Changeset 0c661b3


Ignore:
Timestamp:
Aug 28, 2011 5:29:42 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
d4bf3403
Parents:
c8a9d8e
Message:

javadocs

Location:
router/java/src/net/i2p
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/data/i2np/DatabaseLookupMessage.java

    rc8a9d8e r0c661b3  
    4747        this(context, false);
    4848    }
     49
     50    /** @param locallyCreated ignored */
    4951    public DatabaseLookupMessage(I2PAppContext context, boolean locallyCreated) {
    5052        super(context);
  • router/java/src/net/i2p/router/MessageSelector.java

    rc8a9d8e r0c661b3  
    1717 */
    1818public interface MessageSelector {
     19
    1920    /**
    20      * Returns true if the received message matches the selector
     21     * Returns true if the received message matches the selector.
     22     * If this returns true, the job specified by OutNetMessage.getOnReplyJob()
     23     * will be run for every OutNetMessage associated with this selector
     24     * (by InNetMessagePool), after calling setMessage() for that ReplyJob.
    2125     */
    2226    public boolean isMatch(I2NPMessage message);
     27
    2328    /**
    24      * Returns true if the selector should still keep searching for further matches
    25      *
     29     * Returns true if the selector should still keep searching for further matches.
     30     * This is called only if isMatch() returns true.
     31     * If this returns true, isMatch() will not be called again.
    2632     */
    2733    public boolean continueMatching();
     34
    2835    /**
    2936     * Returns the # of milliseconds since the epoch after which this selector should
    30      * stop searching for matches
    31      *
     37     * stop searching for matches.
     38     * At some time after expiration, if continueMatching() has not returned false,
     39     * the job specified by OutNetMessage.getOnFailedReplyJob()
     40     * will be run for every OutNetMessage associated with this selector
     41     * (by OutboundMessageRegistry).
    3242     */
    3343    public long getExpiration();
Note: See TracChangeset for help on using the changeset viewer.