| Package | Description |
|---|---|
| net.i2p.data.i2cp | 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). |
| net.i2p.internal | Internal communication interfaces for router and client within
same JVM, using queues instead of socket-based I2CP. |
| net.i2p.router.client | Router-side implementation of the I2CP (I2P Client Protocol) interface for application integration. |
| Modifier and Type | Method and Description |
|---|---|
protected void | CreateLeaseSet2Message.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | HostLookupMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | ReceiveMessageBeginMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | CreateLeaseSetMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | CreateSessionMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | DestLookupMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | GetBandwidthLimitsMessage.doReadMessage(InputStream in,
int size)Read the message from the stream. |
protected void | RequestLeaseSetMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | ReportAbuseMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | BandwidthLimitsMessage.doReadMessage(InputStream in,
int size) |
protected abstract void | I2CPMessageImpl.doReadMessage(InputStream buf,
int size)Read in the payload part of the message (after the initial 4 byte size and 1
byte type) |
protected void | HostReplyMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | DestReplyMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | SetDateMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | DisconnectMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | MessageStatusMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | RequestVariableLeaseSetMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | BlindingInfoMessage.doReadMessage(InputStream in,
int size) |
protected void | ReconfigureSessionMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | DestroySessionMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | ReceiveMessageEndMessage.doReadMessage(InputStream in,
int size) |
protected void | GetDateMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | SessionStatusMessage.doReadMessage(InputStream in,
int size)doReadMessage. |
protected void | MessagePayloadMessage.doReadMessage(InputStream in,
int size)Read in the payload part of the message (after the initial 4 byte size and 1
byte type) |
protected void | SendMessageMessage.doReadMessage(InputStream in,
int size)Read in the payload part of the message (after the initial 4 byte size and 1
byte type) |
protected byte[] | CreateLeaseSet2Message.doWriteMessage()doWriteMessage. |
protected byte[] | HostLookupMessage.doWriteMessage()doWriteMessage. |
protected byte[] | ReceiveMessageBeginMessage.doWriteMessage()doWriteMessage. |
protected byte[] | CreateLeaseSetMessage.doWriteMessage()doWriteMessage. |
protected byte[] | CreateSessionMessage.doWriteMessage()doWriteMessage. |
protected byte[] | DestLookupMessage.doWriteMessage()doWriteMessage. |
protected byte[] | GetBandwidthLimitsMessage.doWriteMessage()doWriteMessage. |
protected byte[] | RequestLeaseSetMessage.doWriteMessage()doWriteMessage. |
protected byte[] | ReportAbuseMessage.doWriteMessage()doWriteMessage. |
protected byte[] | BandwidthLimitsMessage.doWriteMessage() |
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[] | HostReplyMessage.doWriteMessage()doWriteMessage. |
protected byte[] | DestReplyMessage.doWriteMessage()doWriteMessage. |
protected byte[] | SetDateMessage.doWriteMessage()doWriteMessage. |
protected byte[] | DisconnectMessage.doWriteMessage()doWriteMessage. |
protected byte[] | MessageStatusMessage.doWriteMessage()doWriteMessage. |
protected byte[] | RequestVariableLeaseSetMessage.doWriteMessage()doWriteMessage. |
protected byte[] | BlindingInfoMessage.doWriteMessage() |
protected byte[] | ReconfigureSessionMessage.doWriteMessage()doWriteMessage. |
protected byte[] | DestroySessionMessage.doWriteMessage()doWriteMessage. |
protected byte[] | ReceiveMessageEndMessage.doWriteMessage() |
protected byte[] | GetDateMessage.doWriteMessage()doWriteMessage. |
protected byte[] | SessionStatusMessage.doWriteMessage()doWriteMessage. |
protected byte[] | MessagePayloadMessage.doWriteMessage() |
protected byte[] | SendMessageMessage.doWriteMessage() |
void | I2CPMessageImpl.readMessage(InputStream in)Validate the type and size of the message, and then read the message into the data structures. |
void | I2CPMessage.readMessage(InputStream in)Read the contents from the input stream into the current class's format. |
static I2CPMessage | I2CPMessageHandler.readMessage(InputStream in)Read an I2CPMessage from the stream and return the fully populated object. |
void | I2CPMessageImpl.readMessage(InputStream in,
int length,
int type)Read the body into the data structures |
void | I2CPMessage.readMessage(InputStream in,
int size,
int type)Read the contents from the input stream into the current class's format. |
void | SendMessageExpiresMessage.readMessage(InputStream in,
int length,
int type)Read the body into the data structures |
void | SendMessageMessage.readMessage(InputStream in,
int length,
int type)Read the body into the data structures |
void | ReceiveMessageBeginMessage.writeMessage(OutputStream out)Override to reduce mem churn |
void | I2CPMessageImpl.writeMessage(OutputStream out)Write out the full message to the stream, including the 4 byte size and 1
byte type header. |
void | I2CPMessage.writeMessage(OutputStream out)Write the current message to the output stream as a full message following
the specification from the I2CP definition. |
void | MessageStatusMessage.writeMessage(OutputStream out)Override to reduce mem churn |
void | SendMessageExpiresMessage.writeMessage(OutputStream out)Write out the full message to the stream, including the 4 byte size and 1
byte type header. |
void | MessagePayloadMessage.writeMessage(OutputStream out)Write out the full message to the stream, including the 4 byte size and 1
byte type header. |
void | SendMessageMessage.writeMessage(OutputStream out)Write out the full message to the stream, including the 4 byte size and 1
byte type header. |
| Modifier and Type | Method and Description |
|---|---|
protected void | PoisonI2CPMessage.doReadMessage(InputStream in,
int size)Deprecated. don't do this |
protected byte[] | PoisonI2CPMessage.doWriteMessage()Deprecated. don't do this |
| Modifier and Type | Method and Description |
|---|---|
void | ClientWriterRunner.addMessage(I2CPMessage msg)Add this message to the writer's queue
Nonblocking, throws exception if queue is full |
(package private) void | ClientConnectionRunner.doSend(I2CPMessage msg)Actually send the I2CPMessage to the peer through the socket |
(package private) void | QueuedClientConnectionRunner.doSend(I2CPMessage msg)Actually send the I2CPMessage to the client. |