Uses of Class
net.i2p.client.streaming.impl.PacketLocal
| 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.
|
-
Uses of PacketLocal in net.i2p.client.streaming.impl
Methods in net.i2p.client.streaming.impl that return PacketLocal Modifier and Type Method Description PacketLocalConnectionDataReceiver. send(byte[] buf, int off, int size)Send some data through the connection, attaching any appropriate flags onto the packet.PacketLocalConnectionDataReceiver. send(byte[] buf, int off, int size, boolean forceIncrement)Called externally from Connection with args (null, 0, 0, true) to send an empty data packetMethods in net.i2p.client.streaming.impl that return types with arguments of type PacketLocal Modifier and Type Method Description List<PacketLocal>Connection. ackPackets(long ackThrough, long[] nacks)Process the acks and nacks received in a packetMethods in net.i2p.client.streaming.impl with parameters of type PacketLocal Modifier and Type Method Description booleanPacketQueue. enqueue(PacketLocal packet)Add a new packet to be sent out ASAP.(package private) Connection.ResendPacketEventConnection. newResendPacketEvent(PacketLocal packet)A new ResendPacketEvent.(package private) voidConnection. sendPacket(PacketLocal packet)This sends all 'normal' packets (acks and data) for the first time.voidMessageInputStream. updateAcks(PacketLocal packet)Adds the ack-through and nack fields to a packet we are building for transmissionvoidPcapWriter. write(PacketLocal pkt)For outbound packetsConstructors in net.i2p.client.streaming.impl with parameters of type PacketLocal Constructor Description ResendPacketEvent(PacketLocal packet)