Inheritance diagram for Barry::Packet:
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 | |
Data & | GetSend () |
Data & | GetReceive () |
Protected Attributes | |
Data & | m_send |
Data & | m_receive |
Friends | |
class | SocketZero |
class | Socket |
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().