Packages that use MessageId
Package
Description
Internal implementation of the I2P client SDK - the client side of the Invisible Internet Client Protocol (I2CP), separating implementation from the interfaces in
net.i2p.client. The Invisible Internet Client Protocol (I2CP) allows applications simplified access to I2P network without requiring them to deal with the issues involved with the Invisible Internet Network Protocol (I2NP).
The I2P router application handles I2P network communication.
Router-side implementation of the Invisible Internet Client Protocol (I2CP): client sessions over plain or TLS sockets, message delivery, and lease and tunnel management on behalf of clients.
Simplified fake implementations of router interfaces (comm system and friends) for testing and embedded builds.
Garlic message creation, parsing and handling, and the outbound message jobs: one-shot sends, source routing and delivery status handling.
Uses of MessageId in net.i2p.client.impl
Fields in net.i2p.client.impl declared as MessageIdModifier and TypeFieldDescriptionprivate MessageIdMessageState._idThe id assigned by the connection, once sent.Methods in net.i2p.client.impl that return MessageIdMethods in net.i2p.client.impl with parameters of type MessageIdModifier and TypeMethodDescriptionvoidMessageState.setMessageId(MessageId id) Message ID assigned to this message.Uses of MessageId in net.i2p.data.i2cp
Fields in net.i2p.data.i2cp declared as MessageIdModifier and TypeFieldDescriptionprivate MessageIdReportAbuseMessage._messageIdThe message the abuse was seen on.Methods in net.i2p.data.i2cp that return MessageIdMethods in net.i2p.data.i2cp with parameters of type MessageIdModifier and TypeMethodDescriptionvoidReportAbuseMessage.setMessageId(MessageId id) Message ID of the reported message.Uses of MessageId in net.i2p.router
Fields in net.i2p.router declared as MessageIdModifier and TypeFieldDescriptionprivate final MessageIdClientMessage._messageIdId for matching replies.Methods in net.i2p.router that return MessageIdMethods in net.i2p.router with parameters of type MessageIdModifier and TypeMethodDescriptionabstract voidClientManagerFacade.messageDeliveryStatusUpdate(Destination fromDest, MessageId id, long messageNonce, int status) Update the delivery status of a message.Constructors in net.i2p.router with parameters of type MessageIdModifierConstructorDescriptionClientMessage(Destination toDest, Payload payload, SessionConfig config, Destination fromDest, MessageId msgID, long messageNonce, long expiration, int flags) For outbound (locally originated).Uses of MessageId in net.i2p.router.client
Fields in net.i2p.router.client declared as MessageIdModifier and TypeFieldDescriptionprivate final MessageIdClientConnectionRunner.MessageDeliveryStatusUpdate._messageIdThe message being updated.private final MessageIdClientManager.DistributeLocal._msgIdThe message id.Fields in net.i2p.router.client with type parameters of type MessageIdModifier and TypeFieldDescriptionClientConnectionRunner._acceptedPendingSet of messageIds created but not yet ACCEPTED.ClientConnectionRunner._alreadyProcessedThis contains the last 10 MessageIds that have had their (non-ack) status delivered to the client (so that we can be sure only to update when necessary).ClientConnectionRunner._messagesMapping of MessageId to Payload, storing messages for retrieval.Methods in net.i2p.router.client that return MessageIdModifier and TypeMethodDescription(package private) MessageIdClientConnectionRunner.distributeMessage(SendMessageMessage message) Distribute the message.Methods in net.i2p.router.client with parameters of type MessageIdModifier and TypeMethodDescription(package private) voidClientConnectionRunner.ackSendMessage(SessionId sid, MessageId id, long nonce) Send a notification to the client that their message (id specified) was accepted for delivery (but not necessarily delivered) Doesn't do anything ifi2cp.messageReliability= "none" or if the nonce is 0.private booleanClientConnectionRunner.alreadyAccepted(MessageId id) True if the client has already been sent the ACCEPTED state for the given message id, false otherwise.(package private) voidClientManager.distributeMessage(ClientConnectionRunner sender, Destination fromDest, Destination toDest, Payload payload, MessageId msgId, long messageNonce, long expiration, int flags) Distribute message to a local or remote destination.(package private) PayloadClientConnectionRunner.getPayload(MessageId id) Only call if _dontSendMSMOnReceive is false, otherwise will always be null.private voidMessageReceivedJob.messageAvailable(MessageId id, long size) Deliver notification to the client that the given message is available.voidClientManager.messageDeliveryStatusUpdate(Destination fromDest, MessageId id, long messageNonce, int status) Update the message delivery status for a client.voidClientManagerFacadeImpl.messageDeliveryStatusUpdate(Destination fromDest, MessageId id, long messageNonce, int status) Report whether a client message was delivered or lost.(package private) voidClientConnectionRunner.removePayload(MessageId id) Only call if _dontSendMSMOnReceive is false.(package private) voidClientConnectionRunner.setPayload(MessageId id, Payload payload) Only call if _dontSendMSMOnReceive is false.(package private) voidClientConnectionRunner.updateMessageDeliveryStatus(Destination dest, MessageId id, long messageNonce, int status) Send a notification to the client that their message (id specified) was delivered (or failed delivery) Note that this sends the Guaranteed status codes, even though we only support best effort.Constructors in net.i2p.router.client with parameters of type MessageIdModifierConstructorDescriptionDistributeLocal(RouterContext ctx, Destination toDest, ClientConnectionRunner to, ClientConnectionRunner from, Destination fromDest, Payload payload, MessageId id, long messageNonce) Distribute a message from one client connection directly to another.MessageDeliveryStatusUpdate(SessionId sid, MessageId id, long messageNonce, int status) Do not use for status = STATUS_SEND_ACCEPTED; use ackSendMessage() for that.Uses of MessageId in net.i2p.router.dummy
Methods in net.i2p.router.dummy with parameters of type MessageIdModifier and TypeMethodDescriptionvoidDummyClientManagerFacade.messageDeliveryStatusUpdate(Destination fromDest, MessageId id, long msgNonce, int status) Uses of MessageId in net.i2p.router.message
Fields in net.i2p.router.message declared as MessageIdModifier and TypeFieldDescriptionprivate final MessageIdOutboundClientMessageOneShotJob._clientMessageIdId of the message being sent.