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 PacketPacketByteArrayOutputStream.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 TypeMethodDescriptionvoidstatic LocationLocation.readFromPacket(Packet packet) booleanRecord.readFromPacket(Packet packet) voidLocation.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 TypeMethodDescriptionbooleanHttpRecognizer.recognizes(Packet packet) booleanIIOPRecognizer.recognizes(Packet packet) booleanProtocolRecognizer.recognizes(Packet packet) -
Uses of Packet in org.apache.activeio.packet
Classes in org.apache.activeio.packet that implement PacketModifier and TypeClassDescriptionfinal classAppends two packets together.final classProvides a Packet implementation that is directly backed by abyte[].final classProvides a Packet implementation that is backed by afinal classProvides a Packet implementation that is directly backed by abyte.final classProvides a Packet implementation that is directly backed by abyte[0].final classProvides a Packet implementation that is used to represent the end of a stream.classProvides a Packet implementation that filters operations to another packet.classFields in org.apache.activeio.packet declared as PacketMethods in org.apache.activeio.packet that return PacketModifier and TypeMethodDescriptionprotected PacketByteBufferPacketPool.allocateNewPacket()protected abstract PacketPacketPool.allocateNewPacket()ByteBufferPacket.compact()AppendedPacket.duplicate()ByteArrayPacket.duplicate()ByteBufferPacket.duplicate()BytePacket.duplicate()EmptyPacket.duplicate()EOSPacket.duplicate()FilterPacket.duplicate()Packet.duplicate()abstract PacketPacketPool.getPacket()Blocks until a ByteBuffer can be retreived from the pool.static PacketByteBufferPacket.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 Packetstatic Packetintintintintintintintintstatic booleanPacketData.readBoolean(Packet packet) static bytestatic charPacketData.readCharBig(Packet packet) static charPacketData.readCharLittle(Packet packet) static doublePacketData.readDoubleBig(Packet packet) static doublePacketData.readDoubleLittle(Packet packet) static floatPacketData.readFloatBig(Packet packet) static floatPacketData.readFloatLittle(Packet packet) static voidstatic voidstatic intPacketData.readIntBig(Packet packet) static intPacketData.readIntLittle(Packet packet) static longPacketData.readLongBig(Packet packet) static longPacketData.readLongLittle(Packet packet) static shortPacketData.readShortBig(Packet packet) static shortPacketData.readShortLittle(Packet packet) static intPacketData.readUnsignedByte(Packet packet) static intPacketData.readUnsignedShortBig(Packet packet) static intPacketData.readUnsignedShortLittle(Packet packet) static intstatic voidstatic voidstatic voidstatic voidPacketData.writeBoolean(Packet packet, boolean v) static voidstatic voidPacketData.writeCharBig(Packet packet, int v) static voidPacketData.writeCharLittle(Packet packet, int v) static voidPacketData.writeDoubleBig(Packet packet, double v) static voidPacketData.writeDoubleLittle(Packet packet, double v) static voidPacketData.writeFloatBig(Packet packet, float v) static voidPacketData.writeFloatLittle(Packet packet, float v) static voidPacketData.writeIntBig(Packet packet, int v) static voidPacketData.writeIntLittle(Packet packet, int v) static voidPacketData.writeLongBig(Packet packet, long v) static voidPacketData.writeLongLittle(Packet packet, long v) static voidPacketData.writeRawDoubleBig(Packet packet, double v) static voidPacketData.writeRawDoubleLittle(Packet packet, double v) static voidPacketData.writeRawFloatBig(Packet packet, float v) static voidPacketData.writeRawFloatLittle(Packet packet, float v) static voidPacketData.writeShortBig(Packet packet, int v) static voidPacketData.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)