Packages that use Payload
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.
Uses of Payload in net.i2p.client.impl
Methods in net.i2p.client.impl that return PayloadModifier and TypeMethodDescriptionprivate static PayloadI2CPMessageProducer.createPayload(byte[] payload) Create a new payload.private PayloadMessagePayloadMessageHandler.decryptPayload(MessagePayloadMessage msg, I2PSessionImpl session) Decrypt the payloadUses of Payload in net.i2p.data.i2cp
Fields in net.i2p.data.i2cp declared as PayloadModifier and TypeFieldDescriptionprivate PayloadMessagePayloadMessage._payloadThe message contents.protected PayloadSendMessageMessage._payloadData to deliver to that destination.Methods in net.i2p.data.i2cp that return PayloadModifier and TypeMethodDescriptionMessagePayloadMessage.getPayload()Get the payload carried by this message.SendMessageMessage.getPayload()Message payload being sent.Constructors in net.i2p.data.i2cp with parameters of type PayloadModifierConstructorDescriptionMessagePayloadMessage(long sessID, long msgID, Payload payload) For writing.SendMessageExpiresMessage(SessionId sessID, Destination dest, Payload payload, long nonce) For writing.SendMessageExpiresMessage(SessionId sessID, Destination dest, Payload payload, long nonce, DateAndFlags options) For writing.SendMessageMessage(SessionId sessID, Destination dest, Payload payload, long nonce) For writing.Uses of Payload in net.i2p.router
Fields in net.i2p.router declared as PayloadModifier and TypeFieldDescriptionprivate final PayloadClientMessage._payloadThe I2CP message carried.Methods in net.i2p.router that return PayloadConstructors in net.i2p.router with parameters of type PayloadModifierConstructorDescriptionClientMessage(Destination toDest, Payload payload, SessionConfig config, Destination fromDest, MessageId msgID, long messageNonce, long expiration, int flags) For outbound (locally originated).ClientMessage(Hash toDestHash, Payload payload) For inbound (from remote dest).Uses of Payload in net.i2p.router.client
Fields in net.i2p.router.client declared as PayloadModifier and TypeFieldDescriptionprivate final PayloadClientManager.DistributeLocal._payloadThe message payload.private final PayloadMessageReceivedJob._payloadThe message being delivered.Fields in net.i2p.router.client with type parameters of type PayloadModifier and TypeFieldDescriptionClientConnectionRunner._messagesMapping of MessageId to Payload, storing messages for retrieval.Methods in net.i2p.router.client that return PayloadModifier and TypeMethodDescription(package private) PayloadClientConnectionRunner.getPayload(MessageId id) Only call if _dontSendMSMOnReceive is false, otherwise will always be null.Methods in net.i2p.router.client with parameters of type PayloadModifier and TypeMethodDescription(package private) static ClientMessageEventListener.ReceiveRequestClientMessageEventListener.classifyReceiveBegin(SessionConfig cfg, Payload payload) Validate a ReceiveMessageBeginMessage before any retained payload is read.(package private) static ClientMessageEventListener.ReceiveRequestClientMessageEventListener.classifyReceiveEnd(SessionConfig cfg, Payload payload) Validate a ReceiveMessageEndMessage before the retained payload is released.(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) booleanClientConnectionRunner.receiveMessage(Destination toDest, Destination fromDest, Payload payload) Synchronously deliver the message to the current runner(package private) booleanClientConnectionRunner.receiveMessage(Hash toHash, Destination fromDest, Payload payload) Synchronously deliver the message to the current runner(package private) voidClientConnectionRunner.setPayload(MessageId id, Payload payload) Only call if _dontSendMSMOnReceive is false.Constructors in net.i2p.router.client with parameters of type PayloadModifierConstructorDescriptionDistributeLocal(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.MessageReceivedJob(RouterContext ctx, ClientConnectionRunner runner, Destination toDest, Destination fromDest, Payload payload, boolean sendDirect) Create a job that delivers one received message to a client.