Changeset 48bf618


Ignore:
Timestamp:
May 20, 2011 12:49:29 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
ff520b7
Parents:
d6c1202
Message:

final

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/client/ClientConnectionRunner.java

    rd6c1202 r48bf618  
    5252 */
    5353class ClientConnectionRunner {
    54     private Log _log;
     54    private final Log _log;
    5555    protected final RouterContext _context;
    56     private ClientManager _manager;
     56    private final ClientManager _manager;
    5757    /** socket for this particular peer connection */
    58     private Socket _socket;
     58    private final Socket _socket;
    5959    /** output stream of the socket that I2CP messages bound to the client should be written to */
    6060    private OutputStream _out;
     
    6464    private SessionConfig _config;
    6565    /** static mapping of MessageId to Payload, storing messages for retrieval */
    66     private Map<MessageId, Payload> _messages;
     66    private final Map<MessageId, Payload> _messages;
    6767    /** lease set request state, or null if there is no request pending on at the moment */
    6868    private LeaseRequestState _leaseRequest;
     
    7070    private LeaseSet _currentLeaseSet;
    7171    /** set of messageIds created but not yet ACCEPTED */
    72     private Set<MessageId> _acceptedPending;
     72    private final Set<MessageId> _acceptedPending;
    7373    /** thingy that does stuff */
    7474    protected I2CPMessageReader _reader;
     
    138138        if (_sessionKeyManager != null)
    139139            _sessionKeyManager.shutdown();
    140         if (_manager != null)
    141             _manager.unregisterConnection(this);
     140        _manager.unregisterConnection(this);
    142141        if (_currentLeaseSet != null)
    143142            _context.netDb().unpublish(_currentLeaseSet);
     
    146145            _alreadyProcessed.clear();
    147146        }
    148         _config = null;
     147        //_config = null;
    149148        //_manager = null;
    150149    }
Note: See TracChangeset for help on using the changeset viewer.