#include <Network.h>
Inheritance diagram for PacketFree:
Public Member Functions | |
PacketFree () | |
~PacketFree () | |
DbRetVal | marshall () |
DbRetVal | unmarshall () |
Data Fields | |
int | stmtID |
Definition at line 174 of file Network.h.
PacketFree::PacketFree | ( | ) | [inline] |
Definition at line 177 of file Network.h.
References BasePacket::buffer, BasePacket::bufferSize, NW_PKT_FREE, and BasePacket::pktType.
00177 { buffer=NULL; bufferSize =0; pktType = NW_PKT_FREE;}
PacketFree::~PacketFree | ( | ) | [inline] |
Definition at line 178 of file Network.h.
References BasePacket::buffer, and BasePacket::bufferSize.
00178 { free(buffer); bufferSize = 0; buffer = NULL; }
DbRetVal PacketFree::marshall | ( | ) | [virtual] |
Implements BasePacket.
Definition at line 77 of file NetworkPacket.cxx.
References BasePacket::buffer, BasePacket::bufferSize, OK, and stmtID.
00078 { 00079 bufferSize = sizeof(int); 00080 buffer = (char*) malloc(bufferSize); 00081 *(int*)buffer = stmtID; 00082 return OK; 00083 }
DbRetVal PacketFree::unmarshall | ( | ) | [virtual] |
Implements BasePacket.
Definition at line 84 of file NetworkPacket.cxx.
References BasePacket::buffer, OK, and stmtID.
Referenced by SqlNetworkHandler::processFree().
Here is the caller graph for this function: