Interface SendMessageStatusListener

All Known Implementing Classes:
PacketQueue

public interface SendMessageStatusListener
Asynchronously notify the client of the status of a sent message.
Since:
0.9.14
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    I2CP status codes are 0 - 255.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    messageStatus(I2PSession session, long msgId, int status)
    Tell the client of an update in the send status for a message previously sent with I2PSession.sendMessage().
  • Field Details

    • STATUS_CANCELLED

      static final int STATUS_CANCELLED
      I2CP status codes are 0 - 255. Start our fake ones at 256.
      See Also:
  • Method Details

    • messageStatus

      void messageStatus(I2PSession session, long msgId, int status)
      Tell the client of an update in the send status for a message previously sent with I2PSession.sendMessage(). Multiple calls for a single message ID are possible.
      Parameters:
      session - session notifying
      msgId - message number returned from a previous sendMessage() call
      status - of the message, as defined in MessageStatusMessage and this class.