Changeset 730dea37


Ignore:
Timestamp:
Nov 25, 2015 4:48:25 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
6934599
Parents:
5d07294
Message:

Streaming: Fix recognition of PoisonPacket? in ConnectionHandler?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/streaming/java/src/net/i2p/client/streaming/impl/ConnectionHandler.java

    r5d07294 r730dea37  
    292292        public static final int POISON_MAX_DELAY_REQUEST = Packet.MAX_DELAY_REQUEST + 1;
    293293
    294         public PoisonPacket() {
    295             setOptionalDelay(POISON_MAX_DELAY_REQUEST);
     294        @Override
     295        public int getOptionalDelay() { return POISON_MAX_DELAY_REQUEST; }
     296
     297        @Override
     298        public String toString() {
     299            return "POISON";
    296300        }
    297301    }
Note: See TracChangeset for help on using the changeset viewer.