Interface SSU2Sender

All Known Implementing Classes:
PeerState2, PeerStateDestroyed

interface SSU2Sender
Basic interface over top of PeerState2 and PeerStateDestroyed, so we can pass them both to PacketBuilder2 to send packets.
Since:
0.9.57
  • Method Details

    • getRemoteHostId

      RemoteHostId getRemoteHostId()
    • isIPv6

      boolean isIPv6()
    • getRemoteIPAddress

      InetAddress getRemoteIPAddress()
    • getRemotePort

      int getRemotePort()
    • getMTU

      int getMTU()
    • getNextPacketNumber

      long getNextPacketNumber() throws IOException
      Throws:
      IOException
    • getSendConnID

      long getSendConnID()
    • getSendCipher

      CipherState getSendCipher()
    • getSendHeaderEncryptKey1

      byte[] getSendHeaderEncryptKey1()
    • getSendHeaderEncryptKey2

      byte[] getSendHeaderEncryptKey2()
    • setDestroyReason

      void setDestroyReason(int reason)
    • getReceivedMessages

      SSU2Bitfield getReceivedMessages()
    • getAckedMessages

      SSU2Bitfield getAckedMessages()
    • fragmentsSent

      void fragmentsSent(long pktNum, int length, List<PacketBuilder.Fragment> fragments)
    • getFlags

      byte getFlags()