java.lang.Object
net.i2p.client.impl.I2PSessionMuxedImpl.MsgData
Enclosing class:
I2PSessionMuxedImpl

private static class I2PSessionMuxedImpl.MsgDataextends Object
Keep this simple.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
    Origin port.
    final int
    Message ID.
    final int
    Protocol number.
    final int
    Message size.
    final int
    Destination port.
  • Constructor Summary

    Constructors
    Constructor
    Description
    MsgData(int i, int s, int p, int f, int t)
    Carries the message id, size, protocol and port fields hidden in the gzip header.
  • Method Summary

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • id

      public final int id
      Message ID.
    • size

      public final int size
      Message size.
    • proto

      public final int proto
      Protocol number.
    • fromPort

      public final int fromPort
      Origin port.
    • toPort

      public final int toPort
      Destination port.
  • Constructor Details

    • MsgData

      public MsgData(int i, int s, int p, int f, int t)
      Carries the message id, size, protocol and port fields hidden in the gzip header.
      Parameters:
      i - the message ID from the I2CP message
      s - the message size in bytes
      p - the protocol number from the gzip OS byte
      f - the origin port from the upper MTIME bytes
      t - the destination port from the lower MTIME bytes