mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
include an objectId flag for use in the logging
This commit is contained in:
@@ -31,9 +31,13 @@ class MessageState {
|
||||
private long _created;
|
||||
private Object _lock = new Object();
|
||||
|
||||
private static long __stateId = 0;
|
||||
private long _stateId;
|
||||
|
||||
public MessageState(long nonce, String prefix) {
|
||||
_stateId = ++__stateId;
|
||||
_nonce = nonce;
|
||||
_prefix = prefix;
|
||||
_prefix = prefix + "[" + _stateId + "]: ";
|
||||
_id = null;
|
||||
_receivedStatus = new HashSet();
|
||||
_cancelled = false;
|
||||
|
||||
Reference in New Issue
Block a user