| Package | Description |
|---|---|
| net.i2p.client.streaming.impl | Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages. |
| Modifier and Type | Class and Description |
|---|---|
(package private) class | PacketLocalThis is the class used for outbound packets. |
| Modifier and Type | Method and Description |
|---|---|
(package private) void | PacketHandler.displayPacket(Packet packet,
String prefix,
String suffix)Logs the provided packet at debug level with a timestamp. |
Connection | ConnectionManager.receiveConnection(Packet synPacket)Create a new connection based on the SYN packet we received. |
void | ConnectionHandler.receiveNewSyn(Packet packet)Non-SYN packets with a zero SendStreamID may also be queued here so
that they don't get thrown away while the SYN packet before it is queued. |
(package private) void | PacketHandler.receivePacket(Packet packet)Receives a packet and dispatches it to the appropriate handler. |
(package private) void | ConnectionPacketHandler.receivePacket(Packet packet,
Connection con)Takes ownership of the packet and calls packet.releasePayload() unless
it is passed to the MessageInputStream. |
(package private) void | PacketHandler.receivePacketDirect(Packet packet,
boolean queueIfNoConn)Processes the packet immediately, optionally queuing if no connection is found. |
boolean | ConnectionManager.receivePing(Connection con,
Packet ping)Process a ping by checking for throttling, etc., then sending a pong. |
void | PcapWriter.write(Packet pkt,
Connection con)Write an inbound packet to the pcap file. |