#include <POSmallFileMsg.h>
Inheritance diagram for POSmallFileMsg:
Public Member Functions | |
POSmallFileMsg (const string &srcname="", const string &destfile="") | |
POSmallFileMsg (const POSmallFileMsg &cpy) | |
virtual | ~POSmallFileMsg () |
string | messageType () const |
POMessage * | clone () const |
int | packsize () const |
int | pack (char *buffer) const |
int | unpack (char *buffer) |
bool | loadFile (const string &fname) |
char * | getFileData () const |
int | getFileSize () const |
string | getSrcFile () const |
string | getDestFile () const |
|
|
|
|
|
|
|
Creates an identical copy of this message. This function must be overloaded in derived classes.
Reimplemented from POMessage. |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from POMessage. |
|
packs the message into a pre-alocated buffer of size >= packsize()
Reimplemented from POMessage. |
|
calculates the number of bytes needed to pack this message
Reimplemented from POMessage. |
|
unpacks the message, setting source, destination, and derived type
Reimplemented from POMessage. |