Package net.i2p.client
Interface SendMessageStatusListener
-
- All Known Implementing Classes:
PacketQueue
public interface SendMessageStatusListenerAsynchronously notify the client of the status of a sent message.- Since:
- 0.9.14
-
-
Field Summary
Fields Modifier and Type Field Description static intSTATUS_CANCELLEDI2CP status codes are 0 - 255.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmessageStatus(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 Detail
-
STATUS_CANCELLED
static final int STATUS_CANCELLED
I2CP status codes are 0 - 255. Start our fake ones at 256.- See Also:
- Constant Field Values
-
-
Method Detail
-
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 notifyingmsgId- message number returned from a previous sendMessage() callstatus- of the message, as defined in MessageStatusMessage and this class.
-
-