java.lang.Object
net.i2p.router.transport.udp.PacketBuilder2.Fragment
- Enclosing class:
PacketBuilder2
Class for passing multiple fragments to buildPacket().
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intThe fragment number.final OutboundMessageStateThe outbound message state.Constructor Summary
ConstructorsConstructorDescriptionFragment(OutboundMessageState state, int num) One fragment's slice of an outbound message, identified by its index.Method Summary
All Methods
Field Details
state
The outbound message state.num
public final int numThe fragment number.
Constructor Details
Fragment
One fragment's slice of an outbound message, identified by its index.- Parameters:
state- the outbound message statenum- fragment number within the message,0for the first
Method Details
toString