Barry::Packet Class Reference

Inheritance diagram for Barry::Packet:

Barry::DBPacket Barry::ZeroPacket List of all members.

Detailed Description

Definition at line 42 of file packet.h.

Public Member Functions

 Packet (Data &send, Data &receive)
virtual ~Packet ()
unsigned int Command () const
 Returns the command value of the receive packet.

Protected Member Functions

DataGetSend ()
DataGetReceive ()

Protected Attributes

Datam_send
Datam_receive

Friends

class SocketZero
class Socket


Member Function Documentation

unsigned int Barry::Packet::Command (  )  const

Returns the command value of the receive packet.

If receive isn't large enough, throws Error.

Definition at line 50 of file packet.cc.

References Barry::Protocol::CheckSize(), m_receive, and MAKE_PACKET.

Referenced by Barry::Mode::Desktop::ClearDirty(), Barry::Mode::Desktop::DeleteRecord(), Barry::Mode::Desktop::GetRecord(), Barry::Mode::Desktop::GetRecordStateTable(), Barry::Mode::Desktop::LoadDatabase(), Barry::Mode::Desktop::LoadDBDB(), Barry::SocketZero::Open(), Barry::DBPacket::ReturnCode(), Barry::Mode::Desktop::SaveDatabase(), and Barry::Mode::Desktop::SetRecord().


The documentation for this class was generated from the following files:
Generated on Wed Sep 24 21:27:32 2008 for Barry by  doxygen 1.5.1