#include <Network.h>
Inheritance diagram for BasePacket:
Public Member Functions | |
char * | getMarshalledBuffer () |
int | getBufferSize () |
void | setBuffer (char *buf) |
void | setBufferSize (int bufSize) |
virtual DbRetVal | marshall ()=0 |
virtual DbRetVal | unmarshall ()=0 |
virtual | ~BasePacket () |
Protected Attributes | |
char * | buffer |
int | bufferSize |
NetworkPacketType | pktType |
Definition at line 141 of file Network.h.
virtual BasePacket::~BasePacket | ( | ) | [inline, virtual] |
int BasePacket::getBufferSize | ( | ) | [inline] |
Definition at line 150 of file Network.h.
References bufferSize.
Referenced by PacketCommit::setExecPackets().
00150 { return bufferSize; }
Here is the caller graph for this function:
char* BasePacket::getMarshalledBuffer | ( | ) | [inline] |
Definition at line 149 of file Network.h.
References buffer.
Referenced by SqlLogStatement::execute(), and PacketCommit::setExecPackets().
00149 { return buffer; }
Here is the caller graph for this function:
virtual DbRetVal BasePacket::marshall | ( | ) | [pure virtual] |
Implemented in PacketPrepare, PacketFree, PacketExecute, and PacketCommit.
void BasePacket::setBuffer | ( | char * | buf | ) | [inline] |
Definition at line 151 of file Network.h.
References buffer.
Referenced by PacketCommit::getExecPacketList(), SqlNetworkHandler::processCommit(), SqlNetworkHandler::processFree(), and SqlNetworkHandler::processPrepare().
00151 { buffer = buf; }
Here is the caller graph for this function:
void BasePacket::setBufferSize | ( | int | bufSize | ) | [inline] |
Definition at line 152 of file Network.h.
References bufferSize.
Referenced by PacketCommit::getExecPacketList(), SqlNetworkHandler::processCommit(), SqlNetworkHandler::processFree(), and SqlNetworkHandler::processPrepare().
00152 { bufferSize = bufSize; }
Here is the caller graph for this function:
virtual DbRetVal BasePacket::unmarshall | ( | ) | [pure virtual] |
Implemented in PacketPrepare, PacketFree, PacketExecute, and PacketCommit.
char* BasePacket::buffer [protected] |
Definition at line 144 of file Network.h.
Referenced by getMarshalledBuffer(), PacketCommit::marshall(), PacketExecute::marshall(), PacketFree::marshall(), PacketPrepare::marshall(), PacketCommit::PacketCommit(), PacketExecute::PacketExecute(), PacketFree::PacketFree(), PacketPrepare::PacketPrepare(), setBuffer(), PacketCommit::unmarshall(), PacketExecute::unmarshall(), PacketFree::unmarshall(), PacketPrepare::unmarshall(), PacketCommit::~PacketCommit(), PacketExecute::~PacketExecute(), PacketFree::~PacketFree(), and PacketPrepare::~PacketPrepare().
int BasePacket::bufferSize [protected] |
Definition at line 145 of file Network.h.
Referenced by getBufferSize(), PacketCommit::marshall(), PacketExecute::marshall(), PacketFree::marshall(), PacketPrepare::marshall(), PacketCommit::PacketCommit(), PacketExecute::PacketExecute(), PacketFree::PacketFree(), PacketPrepare::PacketPrepare(), setBufferSize(), PacketCommit::setExecPackets(), PacketCommit::~PacketCommit(), PacketExecute::~PacketExecute(), PacketFree::~PacketFree(), and PacketPrepare::~PacketPrepare().
NetworkPacketType BasePacket::pktType [protected] |
Definition at line 146 of file Network.h.
Referenced by PacketCommit::PacketCommit(), PacketExecute::PacketExecute(), PacketFree::PacketFree(), and PacketPrepare::PacketPrepare().