Packages that use Packet
Package
Description
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages.
Uses of Packet in net.i2p.client.streaming.impl
Subclasses of Packet in net.i2p.client.streaming.implModifier and TypeClassDescription(package private) classThis is the class used for outbound packets.Methods in net.i2p.client.streaming.impl with parameters of type PacketModifier and TypeMethodDescription(package private) voidPacketDispatcher.dispatch(long sendStreamId, Connection con, Packet packet) Route (con, packet) to the shard owning the connection and return promptly.(package private) voidPacketHandler.displayPacket(Packet packet, String prefix, String suffix) Logs the provided packet at debug level with a timestamp.voidPacketDispatcher.PacketProcessor.process(Connection con, Packet packet) Process the packet.ConnectionManager.receiveConnection(Packet synPacket) Create a new connection based on the SYN packet we received.voidConnectionHandler.receiveNewSyn(Packet packet) Receive new connection attempts(package private) voidConnectionPacketHandler.receivePacket(Packet packet, Connection con) Takes ownership of the packet and calls packet.releasePayload() unless it is passed to the MessageInputStream.(package private) voidPacketHandler.receivePacket(Packet packet) Receives a packet and dispatches it to the appropriate handler.(package private) voidPacketHandler.receivePacketDirect(Packet packet, boolean queueIfNoConn) Processes the packet immediately, optionally queuing if no connection is found.booleanConnectionManager.receivePing(Connection con, Packet ping) Process a ping by checking for throttling, etc., then sending a pong.voidPacketHandler.sendResetUnverified(Packet packet) Sends a reset packet back to the sender without verifying the packet signature.(package private) static StringConnectionHandler.synExpiryMessage(Packet syn, int queueDepth, int maxQueueSize, int timeoutMs) Full single-line DEBUG detail for a timed-out SYN, folding in both the packet detail and the queue/timeout pressure that caused the expiry.(package private) static voidConnectionHandler.synExpirySummary(Packet syn, StringBuilder out) Build a diagnostic message for a SYN that expired on the accept queue without being accepted.voidPcapWriter.write(Packet pkt, Connection con) Write an inbound packet to the pcap file.