forked from I2P_Developers/i2p.i2p
finals
This commit is contained in:
@@ -192,10 +192,11 @@ class PeerTestJob extends JobImpl {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private class ReplySelector implements MessageSelector {
|
private class ReplySelector implements MessageSelector {
|
||||||
private long _expiration;
|
private final long _expiration;
|
||||||
private long _nonce;
|
private final long _nonce;
|
||||||
private Hash _peer;
|
private final Hash _peer;
|
||||||
private boolean _matchFound;
|
private boolean _matchFound;
|
||||||
|
|
||||||
public ReplySelector(Hash peer, long nonce, long expiration) {
|
public ReplySelector(Hash peer, long nonce, long expiration) {
|
||||||
_nonce = nonce;
|
_nonce = nonce;
|
||||||
_expiration = expiration;
|
_expiration = expiration;
|
||||||
@@ -237,10 +238,11 @@ class PeerTestJob extends JobImpl {
|
|||||||
* Called when the peer's response is found
|
* Called when the peer's response is found
|
||||||
*/
|
*/
|
||||||
private class PeerReplyFoundJob extends JobImpl implements ReplyJob {
|
private class PeerReplyFoundJob extends JobImpl implements ReplyJob {
|
||||||
private RouterInfo _peer;
|
private final RouterInfo _peer;
|
||||||
private long _testBegin;
|
private final long _testBegin;
|
||||||
private TunnelInfo _replyTunnel;
|
private final TunnelInfo _replyTunnel;
|
||||||
private TunnelInfo _sendTunnel;
|
private final TunnelInfo _sendTunnel;
|
||||||
|
|
||||||
public PeerReplyFoundJob(RouterContext context, RouterInfo peer, TunnelInfo replyTunnel, TunnelInfo sendTunnel) {
|
public PeerReplyFoundJob(RouterContext context, RouterInfo peer, TunnelInfo replyTunnel, TunnelInfo sendTunnel) {
|
||||||
super(context);
|
super(context);
|
||||||
_peer = peer;
|
_peer = peer;
|
||||||
@@ -272,10 +274,11 @@ class PeerTestJob extends JobImpl {
|
|||||||
* Called when the peer's response times out
|
* Called when the peer's response times out
|
||||||
*/
|
*/
|
||||||
private class PeerReplyTimeoutJob extends JobImpl {
|
private class PeerReplyTimeoutJob extends JobImpl {
|
||||||
private RouterInfo _peer;
|
private final RouterInfo _peer;
|
||||||
private TunnelInfo _replyTunnel;
|
private final TunnelInfo _replyTunnel;
|
||||||
private TunnelInfo _sendTunnel;
|
private final TunnelInfo _sendTunnel;
|
||||||
private ReplySelector _selector;
|
private final ReplySelector _selector;
|
||||||
|
|
||||||
public PeerReplyTimeoutJob(RouterContext context, RouterInfo peer, TunnelInfo replyTunnel, TunnelInfo sendTunnel, ReplySelector sel) {
|
public PeerReplyTimeoutJob(RouterContext context, RouterInfo peer, TunnelInfo replyTunnel, TunnelInfo sendTunnel, ReplySelector sel) {
|
||||||
super(context);
|
super(context);
|
||||||
_peer = peer;
|
_peer = peer;
|
||||||
|
Reference in New Issue
Block a user