Changeset a00f11d


Ignore:
Timestamp:
Mar 21, 2017 11:57:52 AM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
ca6ce37
Parents:
13ad5d7
Message:

i2psnark: Add another method to support RPC plugin

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/Snark.java

    r13ad5d7 ra00f11d  
    240240  private volatile String activity = "Not started";
    241241  private final long savedUploaded;
     242  private long _startedTime;
    242243  private static final AtomicInteger __RPCID = new AtomicInteger();
    243244  private final int _rpcID = __RPCID.incrementAndGet();
     
    545546      try {
    546547          x_startTorrent();
     548          _startedTime = _util.getContext().clock().now();
    547549      } finally {
    548550          starting = false;
     
    13761378    return _rpcID;
    13771379  }
     1380   
     1381    /**
     1382     * When did we start this torrent
     1383     * For RPC
     1384     * @return 0 if not started before. Not cleared when stopped.
     1385     * @since 0.9.30
     1386     */
     1387    public long getStartedTime() {
     1388        return _startedTime;
     1389    }
    13781390}
  • history.txt

    r13ad5d7 ra00f11d  
     12017-03-21 zzz
     2 * i2psnark: Enhancement to support RPC plugin
     3
    142017-03-20 zzz
    25 * i2psnark: Enhancements to support RPC plugin
     6 * SSU: More work on introducer expiration (proposal 133)
    37
    482017-03-18 zzz
  • router/java/src/net/i2p/router/RouterVersion.java

    r13ad5d7 ra00f11d  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 8;
     21    public final static long BUILD = 9;
    2222
    2323    /** for example "-test" */
Note: See TracChangeset for help on using the changeset viewer.