java.lang.Object
net.i2p.i2ptunnel.irc.I2PTunnelDCCServer.LocalAddress
Enclosing class:
I2PTunnelDCCServer

private static class I2PTunnelDCCServer.LocalAddressextends Object
One local address handed out for a DCC connection.
  • Field Details

    • ia

      public final InetAddress ia
      The fake address sent to the peer.
    • port

      public final int port
      The fake port sent to the peer.
    • expire

      public long expire
      When the address expires if unused.
    • socket

      public I2PSocket socket
      The socket connected to the address, once opened.
  • Constructor Details

    • LocalAddress

      public LocalAddress(InetAddress a, int p, long exp)
      Records one local address.
      Parameters:
      a - the fake address sent to the peer
      p - the fake port sent to the peer
      exp - when the address expires if unused