Class InboundEstablishState2

java.lang.Object
net.i2p.router.transport.udp.InboundEstablishState
net.i2p.router.transport.udp.InboundEstablishState2
All Implemented Interfaces:
SSU2Payload.PayloadCallback

class InboundEstablishState2 extends InboundEstablishState implements SSU2Payload.PayloadCallback
Data for a new connection being established, where the remote peer has initiated the connection with us. In other words, they are Alice and we are Bob. SSU2 only.
Since:
0.9.54
  • Constructor Details

    • InboundEstablishState2

      public InboundEstablishState2(RouterContext ctx, UDPTransport transport, UDPPacket packet) throws GeneralSecurityException
      Start a new handshake with the given incoming packet, which must be a Session Request or Token Request. Caller must then check getState() and build a Retry or Session Created in response.
      Parameters:
      packet - with all header encryption removed, either a SessionRequest OR a TokenRequest.
      Throws:
      GeneralSecurityException
  • Method Details