Packages that use I2CPMessageException
Package
Description
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).
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 I2CPMessageException in net.i2p.data.i2cp
Methods in net.i2p.data.i2cp that throw I2CPMessageExceptionModifier and TypeMethodDescriptionprivate static I2CPMessageI2CPMessageHandler.createMessage(int type) Yes, this is fairly ugly, but its the only place it ever happens.protected voidBandwidthLimitsMessage.doReadMessage(InputStream in, int size) protected voidBlindingInfoMessage.doReadMessage(InputStream in, int size) protected voidCreateLeaseSet2Message.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidCreateLeaseSetMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidCreateSessionMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidDestLookupMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidDestReplyMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidDestroySessionMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidDisconnectMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidGetBandwidthLimitsMessage.doReadMessage(InputStream in, int size) Read the message from the stream.protected voidGetDateMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidHostLookupMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidHostReplyMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected abstract voidI2CPMessageImpl.doReadMessage(InputStream buf, int size) Read in the payload part of the message (after the initial 4 byte size and 1 byte type).protected voidMessagePayloadMessage.doReadMessage(InputStream in, int size) Read in the payload part of the message (after the initial 4 byte size and 1 byte type).protected voidMessageStatusMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidReceiveMessageBeginMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidReceiveMessageEndMessage.doReadMessage(InputStream in, int size) protected voidReconfigureSessionMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidReportAbuseMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidRequestLeaseSetMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidRequestVariableLeaseSetMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidSendMessageMessage.doReadMessage(InputStream in, int size) Read in the payload part of the message (after the initial 4 byte size and 1 byte type).protected voidSessionStatusMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected voidSetDateMessage.doReadMessage(InputStream in, int size) Read the message body from the input stream.protected byte[]BandwidthLimitsMessage.doWriteMessage()protected byte[]BlindingInfoMessage.doWriteMessage()protected byte[]CreateLeaseSet2Message.doWriteMessage()Write the message body to the output stream.protected byte[]CreateLeaseSetMessage.doWriteMessage()Write the message body to the output stream.protected byte[]CreateSessionMessage.doWriteMessage()Write the message body to the output stream.protected byte[]DestLookupMessage.doWriteMessage()Write the message body to the output stream.protected byte[]DestReplyMessage.doWriteMessage()Write the message body to the output stream.protected byte[]DestroySessionMessage.doWriteMessage()Write the message body to the output stream.protected byte[]DisconnectMessage.doWriteMessage()Write the message body to the output stream.protected byte[]GetBandwidthLimitsMessage.doWriteMessage()Write the message body to the output stream.protected byte[]GetDateMessage.doWriteMessage()Write the message body to the output stream.protected byte[]HostLookupMessage.doWriteMessage()Write the message body to the output stream.protected byte[]HostReplyMessage.doWriteMessage()Write the message body to the output stream.protected abstract byte[]I2CPMessageImpl.doWriteMessage()Write out the payload part of the message (not including the 4 byte size and 1 byte type).protected byte[]MessagePayloadMessage.doWriteMessage()Write the message body to the output stream.protected byte[]MessageStatusMessage.doWriteMessage()Write the message body to the output stream.protected byte[]ReceiveMessageBeginMessage.doWriteMessage()Write the message body to the output stream.protected byte[]ReceiveMessageEndMessage.doWriteMessage()protected byte[]ReconfigureSessionMessage.doWriteMessage()Write the message body to the output stream.protected byte[]ReportAbuseMessage.doWriteMessage()Write the message body to the output stream.protected byte[]RequestLeaseSetMessage.doWriteMessage()Write the message body to the output stream.protected byte[]RequestVariableLeaseSetMessage.doWriteMessage()Write the message body to the output stream.protected byte[]SendMessageMessage.doWriteMessage()Serialization is not supported for this message.protected byte[]SessionStatusMessage.doWriteMessage()Write the message body to the output stream.protected byte[]SetDateMessage.doWriteMessage()Write the message body to the output stream.voidI2CPMessage.readMessage(InputStream in) Read the contents from the input stream into the current class's format.voidI2CPMessage.readMessage(InputStream in, int size, int type) Read the contents from the input stream into the current class's format.static I2CPMessageI2CPMessageHandler.readMessage(InputStream in) Read an I2CPMessage from the stream and return the fully populated object.voidI2CPMessageImpl.readMessage(InputStream in) Validate the type and size of the message, and then read the message into the data structures.voidI2CPMessageImpl.readMessage(InputStream in, int length, int type) Read the body into the data structures.voidSendMessageExpiresMessage.readMessage(InputStream in, int length, int type) Read the body into the data structures.voidSendMessageMessage.readMessage(InputStream in, int length, int type) Read the body into the data structures.voidI2CPMessage.writeMessage(OutputStream out) Write the current message to the output stream as a full message following the specification from the I2CP definition.voidI2CPMessageImpl.writeMessage(OutputStream out) Write out the full message to the stream, including the 4 byte size and 1 byte type header.voidMessagePayloadMessage.writeMessage(OutputStream out) Write out the full message to the stream, including the 4 byte size and 1 byte type header.voidMessageStatusMessage.writeMessage(OutputStream out) Override to reduce mem churn.voidReceiveMessageBeginMessage.writeMessage(OutputStream out) Override to reduce mem churn.voidSendMessageExpiresMessage.writeMessage(OutputStream out) Write out the full message to the stream, including the 4 byte size and 1 byte type header.voidSendMessageMessage.writeMessage(OutputStream out) Write out the full message to the stream, including the 4 byte size and 1 byte type header.Uses of I2CPMessageException in net.i2p.router.client
Methods in net.i2p.router.client that return I2CPMessageExceptionModifier and TypeMethodDescriptionprivate I2CPMessageExceptionQueuedClientConnectionRunner.queueFull()The error for a client that is not draining its I2CP queue.Methods in net.i2p.router.client that throw I2CPMessageExceptionModifier and TypeMethodDescriptionvoidClientWriterRunner.addMessage(I2CPMessage msg) Add this message to the writer's queue(package private) voidClientConnectionRunner.doSend(I2CPMessage msg) Actually send the I2CPMessage to the peer through the socket.(package private) voidQueuedClientConnectionRunner.doSend(I2CPMessage msg) Actually send the I2CPMessage to the client.(package private) voidClientConnectionRunner.doSendWait(I2CPMessage msg, long timeoutMs) Send a message, allowing the transport up to timeoutMs to accept it.(package private) voidQueuedClientConnectionRunner.doSendWait(I2CPMessage msg, long timeoutMs) Send the I2CPMessage, giving the client's queue up to timeoutMs to make room.private voidMessageReceivedJob.messageAvailable(MessageId id, long size) Deliver notification to the client that the given message is available.private voidMessageReceivedJob.sendMessage(long id) Deliver the message directly, skip notification.