Changeset 008c79e


Ignore:
Timestamp:
Mar 23, 2012 5:02:32 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
bdfca07
Parents:
0d56581
Message:

comment out unused GarlicConfig? methods

Location:
router/java
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/message/GarlicConfig.java

    r0d56581 r008c79e  
    3030    private final List<GarlicConfig> _cloveConfigs;
    3131    private DeliveryInstructions _instructions;
    32     private boolean _requestAck;
    33     private RouterInfo _replyThroughRouter; // router through which any replies will be sent before delivery to us
    34     private DeliveryInstructions _replyInstructions; // how the message will be sent from the replyThroughRouter to us
     32    // unused
     33    //private boolean _requestAck;
     34    //private RouterInfo _replyThroughRouter; // router through which any replies will be sent before delivery to us
     35    //private DeliveryInstructions _replyInstructions; // how the message will be sent from the replyThroughRouter to us
    3536    // unused and undocumented
    3637    //private Certificate _replyBlockCertificate;
     
    101102     *
    102103     */
     104  /****
    103105    public void setRequestAck(boolean request) { _requestAck = request; }
    104106    public boolean getRequestAck() { return _requestAck; }
     107  ****/
    105108   
    106109    /**
     
    110113     *
    111114     */
     115  /****
    112116    public void setReplyThroughRouter(RouterInfo replyThroughRouter) { _replyThroughRouter = replyThroughRouter; }
    113117    public RouterInfo getReplyThroughRouter() { return _replyThroughRouter; }
     118  ****/
    114119   
    115120    /**
     
    120125     *
    121126     */
     127  /****
    122128    public void setReplyInstructions(DeliveryInstructions instructions) { _replyInstructions = instructions; }
    123129    public DeliveryInstructions getReplyInstructions() { return _replyInstructions; }
     130  ****/
    124131   
    125132  /****
     
    165172        //buf.append("<replyBlockExpiration>").append(new Date(getReplyBlockExpiration())).append("</replyBlockExpiration>").append(NL);
    166173        //buf.append("<replyBlockMessageId>").append(getReplyBlockMessageId()).append("</replyBlockMessageId>").append(NL);
    167         buf.append("<replyInstructions>").append(getReplyInstructions()).append("</replyInstructions>").append(NL);
    168         buf.append("<replyThroughRouter>").append(getReplyThroughRouter()).append("</replyThroughRouter>").append(NL);
    169         buf.append("<requestAck>").append(getRequestAck()).append("</requestAck>").append(NL);
     174        //buf.append("<replyInstructions>").append(getReplyInstructions()).append("</replyInstructions>").append(NL);
     175        //buf.append("<replyThroughRouter>").append(getReplyThroughRouter()).append("</replyThroughRouter>").append(NL);
     176        //buf.append("<requestAck>").append(getRequestAck()).append("</requestAck>").append(NL);
    170177        buf.append(getSubData());
    171178        buf.append("<subcloves>").append(NL);
  • router/java/src/net/i2p/router/message/OutboundClientMessageJobHelper.java

    r0d56581 r008c79e  
    122122        config.setExpiration(expiration); // +2*Router.CLOCK_FUDGE_FACTOR);
    123123        config.setRecipientPublicKey(recipientPK);
    124         config.setRequestAck(false);
    125124       
    126125        if (log.shouldLog(Log.INFO))
  • router/java/src/net/i2p/router/message/OutboundClientMessageOneShotJob.java

    r0d56581 r008c79e  
    726726       
    727727        clove.setPayload(msg);
    728         clove.setRecipientPublicKey(null);
    729         clove.setRequestAck(false);
     728        // defaults
     729        //clove.setRecipientPublicKey(null);
     730        //clove.setRequestAck(false);
    730731       
    731732        _clove = clove;
  • router/java/src/net/i2p/router/networkdb/kademlia/MessageWrapper.java

    r0d56581 r008c79e  
    5252        payload.setRecipient(to);
    5353        payload.setDeliveryInstructions(instructions);
    54         payload.setRequestAck(false);
    5554        payload.setExpiration(m.getMessageExpiration());
    5655
  • router/java/src/net/i2p/router/tunnel/pool/TestJob.java

    r0d56581 r008c79e  
    125125        payload.setRecipient(getContext().router().getRouterInfo());
    126126        payload.setDeliveryInstructions(instructions);
    127         payload.setRequestAck(false);
    128127        payload.setExpiration(m.getMessageExpiration());
    129128
  • router/java/test/net/i2p/router/message/BuildTestMessageJob.java

    r0d56581 r008c79e  
    122122        config.setExpiration(_timeoutMs+getContext().clock().now()+2*Router.CLOCK_FUDGE_FACTOR);
    123123        config.setRecipient(_target);
    124         config.setRequestAck(false);
    125124       
    126125        return config;
     
    152151        ackClove.setPayload(msg);
    153152        ackClove.setRecipient(_target);
    154         ackClove.setRequestAck(false);
    155153       
    156154        return ackClove;
Note: See TracChangeset for help on using the changeset viewer.