- All Known Implementing Classes:
PacketQueue
public interface SendMessageStatusListener
Asynchronously notify the client of the status of a sent message.
Field Summary
FieldsMethod Summary
All MethodsModifier and TypeMethodDescriptionvoidmessageStatus(I2PSession session, long msgId, int status) Tell the client of an update in the send status for a message previously sent withI2PSession.sendMessage(Destination, byte[]).
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 withI2PSession.sendMessage(Destination, byte[]). Multiple calls for a single message ID are possible.- Parameters:
session- session notifying the status changemsgId- message number returned from a previous sendMessage() callstatus- of the message, as defined in MessageStatusMessage and this class.