Package net.i2p.client
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
Modifier and TypeFieldDescriptionstatic final int
I2CP status codes are 0 - 255. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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_CANCELLEDI2CP status codes are 0 - 255. Start our fake ones at 256.- See Also:
-
-
Method Details
-
messageStatus
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 notifyingmsgId
- message number returned from a previous sendMessage() callstatus
- of the message, as defined in MessageStatusMessage and this class.
-