include an objectId flag for use in the logging

This commit is contained in:
jrandom
2004-07-13 20:16:05 +00:00
committed by zzz
parent d5ad56c4de
commit d6425973e2

View File

@ -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;