Uses of Interface
org.apache.activeio.packet.Packet
Packages that use Packet
Package
Description
The Adapter package provides classes that make it easy ot bridge between the the
SynchChannel, AsyncChannel, InputStream, OutputStream, Socket, and ServerSocket domains.
Provides the API for storing and accessing record based binary data in sequential log files.
The Active Journal is a high performance Journal implemenation which does not
place limits on how big the data being logged can be.
This package provides the implementing classes that allow you to run multiple protocols
from a sigle port.
Implementations of the Packet class.
-
Uses of Packet in org.apache.activeio.adapter
Methods in org.apache.activeio.adapter that return PacketModifier and TypeMethodDescriptionprotected Packet
PacketByteArrayOutputStream.allocate()
PacketByteArrayOutputStream.getPacket()
Constructors in org.apache.activeio.adapter with parameters of type PacketModifierConstructorDescriptionPacketInputStream
(Packet packet) Deprecated.PacketOutputStream
(Packet packet) PacketToInputStream
(Packet packet) -
Uses of Packet in org.apache.activeio.journal
Methods in org.apache.activeio.journal that return PacketModifier and TypeMethodDescriptionJournal.read
(RecordLocation location) Reads a previously written record from the journal.Methods in org.apache.activeio.journal with parameters of type PacketModifier and TypeMethodDescriptionWrites a of data to the journal. -
Uses of Packet in org.apache.activeio.journal.active
Methods in org.apache.activeio.journal.active that return PacketModifier and TypeMethodDescriptionControlFile.getControlData()
BatchedWrite.getPacket()
Record.getPayload()
JournalImpl.read
(RecordLocation l) LogFileManager.readPacket
(Location location) Methods in org.apache.activeio.journal.active with parameters of type PacketModifier and TypeMethodDescriptionvoid
static Location
Location.readFromPacket
(Packet packet) boolean
Record.readFromPacket
(Packet packet) void
Location.writeToPacket
(Packet packet) Constructors in org.apache.activeio.journal.active with parameters of type Packet -
Uses of Packet in org.apache.activeio.oneport
Methods in org.apache.activeio.oneport with parameters of type PacketModifier and TypeMethodDescriptionboolean
HttpRecognizer.recognizes
(Packet packet) boolean
IIOPRecognizer.recognizes
(Packet packet) boolean
ProtocolRecognizer.recognizes
(Packet packet) -
Uses of Packet in org.apache.activeio.packet
Classes in org.apache.activeio.packet that implement PacketModifier and TypeClassDescriptionfinal class
Appends two packets together.final class
Provides a Packet implementation that is directly backed by abyte[]
.final class
Provides a Packet implementation that is backed by afinal class
Provides a Packet implementation that is directly backed by abyte
.final class
Provides a Packet implementation that is directly backed by abyte[0]
.final class
Provides a Packet implementation that is used to represent the end of a stream.class
Provides a Packet implementation that filters operations to another packet.class
Fields in org.apache.activeio.packet declared as PacketMethods in org.apache.activeio.packet that return PacketModifier and TypeMethodDescriptionprotected Packet
ByteBufferPacketPool.allocateNewPacket()
protected abstract Packet
PacketPool.allocateNewPacket()
ByteBufferPacket.compact()
AppendedPacket.duplicate()
ByteArrayPacket.duplicate()
ByteBufferPacket.duplicate()
BytePacket.duplicate()
EmptyPacket.duplicate()
EOSPacket.duplicate()
FilterPacket.duplicate()
Packet.duplicate()
abstract Packet
PacketPool.getPacket()
Blocks until a ByteBuffer can be retreived from the pool.static Packet
ByteBufferPacket.mark()
AppendedPacket.slice()
ByteArrayPacket.slice()
ByteBufferPacket.slice()
BytePacket.slice()
EmptyPacket.slice()
EOSPacket.slice()
FilterPacket.slice()
Packet.slice()
Methods in org.apache.activeio.packet with parameters of type PacketModifier and TypeMethodDescriptionabstract Packet
static Packet
int
int
int
int
int
int
int
int
static boolean
PacketData.readBoolean
(Packet packet) static byte
static char
PacketData.readCharBig
(Packet packet) static char
PacketData.readCharLittle
(Packet packet) static double
PacketData.readDoubleBig
(Packet packet) static double
PacketData.readDoubleLittle
(Packet packet) static float
PacketData.readFloatBig
(Packet packet) static float
PacketData.readFloatLittle
(Packet packet) static void
static void
static int
PacketData.readIntBig
(Packet packet) static int
PacketData.readIntLittle
(Packet packet) static long
PacketData.readLongBig
(Packet packet) static long
PacketData.readLongLittle
(Packet packet) static short
PacketData.readShortBig
(Packet packet) static short
PacketData.readShortLittle
(Packet packet) static int
PacketData.readUnsignedByte
(Packet packet) static int
PacketData.readUnsignedShortBig
(Packet packet) static int
PacketData.readUnsignedShortLittle
(Packet packet) static int
static void
static void
static void
static void
PacketData.writeBoolean
(Packet packet, boolean v) static void
static void
PacketData.writeCharBig
(Packet packet, int v) static void
PacketData.writeCharLittle
(Packet packet, int v) static void
PacketData.writeDoubleBig
(Packet packet, double v) static void
PacketData.writeDoubleLittle
(Packet packet, double v) static void
PacketData.writeFloatBig
(Packet packet, float v) static void
PacketData.writeFloatLittle
(Packet packet, float v) static void
PacketData.writeIntBig
(Packet packet, int v) static void
PacketData.writeIntLittle
(Packet packet, int v) static void
PacketData.writeLongBig
(Packet packet, long v) static void
PacketData.writeLongLittle
(Packet packet, long v) static void
PacketData.writeRawDoubleBig
(Packet packet, double v) static void
PacketData.writeRawDoubleLittle
(Packet packet, double v) static void
PacketData.writeRawFloatBig
(Packet packet, float v) static void
PacketData.writeRawFloatLittle
(Packet packet, float v) static void
PacketData.writeShortBig
(Packet packet, int v) static void
PacketData.writeShortLittle
(Packet packet, int v) Constructors in org.apache.activeio.packet with parameters of type PacketModifierConstructorDescriptionAppendedPacket
(Packet first, Packet second) Deprecated.use instead.FilterPacket
(Packet next) PacketData
(Packet packet) PacketData
(Packet packet, boolean bigEndian) PooledPacket
(Packet next)