79 virtual unsigned int GetPacketEvent(
unsigned int aIndex)
const = 0;
93 virtual unsigned int GetPacketSize(
unsigned int aIndex)
const = 0;
115 virtual OpenNet::Status
Display(FILE * aOut)
const = 0;
132 virtual OpenNet::Status
ReadPacket(
unsigned int aIndex,
void * aOut,
unsigned int aOutSize_byte) = 0;
145 virtual OpenNet::Status
Wait() = 0;
virtual unsigned int GetPacketEvent(unsigned int aIndex) const =0
Retrieve the index of the next packet event.
virtual unsigned int GetPacketCount() const =0
Retrieve the quantity of packet in the buffer.
virtual unsigned int GetPacketSize(unsigned int aIndex) const =0
Retrieve the packet size.
virtual OpenNet::Status ClearEvent()=0
Clear the event.
virtual OpenNet::Status ReadPacket(unsigned int aIndex, void *aOut, unsigned int aOutSize_byte)=0
Read packet.
virtual OpenNet::Status Wait()=0
Wait until all ReadPacket or ClearEvent operations are completed.
The Buffer class.
Definition: Buffer.h:29
virtual OpenNet::Status Display(FILE *aOut) const =0
Display.
virtual uint32_t GetPacketDestination(unsigned int aIndex) const =0
Retrieve the packet destination.