Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

DiskSessionRecorder Class Reference

#include <DiskSessionRecorder.h>

Inheritance diagram for DiskSessionRecorder:
SessionRecorderInterface

List of all members.

Public Member Functions

 DiskSessionRecorder (AbiCollab *pSession)
 ~DiskSessionRecorder ()
void storeOutgoing (const Packet *pPacket)
void storeOutgoing (const Packet *pPacket, BuddyPtr toBuddy)
void storeIncoming (const Packet *pPacket, BuddyPtr fromBuddy)

Static Public Member Functions

static const char * getTargetDirectory ()
static const char * getPrefix ()
static bool getPackets (const std::string &filename, bool &bLocallyControlled, std::vector< RecordedPacket * > &packets)
static bool dumpSession (const std::string &filename)
static const char * getHeader ()

Protected Member Functions

void destroy ()
void store (bool incoming, const Packet *pPacket, BuddyPtr pBuddy)
void write (const void *data, int count)

Protected Attributes

GsfOutput * m_GsfStream
GError * m_Error
const char * m_URI

Constructor & Destructor Documentation

DiskSessionRecorder::~DiskSessionRecorder (  ) 

References destroy().


Member Function Documentation

void DiskSessionRecorder::destroy (  )  [protected]

References FREEP, m_GsfStream, m_URI, and UT_DEBUGMSG.

Referenced by ~DiskSessionRecorder().

static const char* DiskSessionRecorder::getHeader (  )  [inline, static]

Referenced by DiskSessionRecorder(), and getPackets().

bool DiskSessionRecorder::getPackets ( const std::string &  filename,
bool &  bLocallyControlled,
std::vector< RecordedPacket * > &  packets 
) [static]
static const char* DiskSessionRecorder::getPrefix (  )  [inline, static]

Referenced by DiskSessionRecorder().

static const char* DiskSessionRecorder::getTargetDirectory (  )  [inline, static]
void DiskSessionRecorder::store ( bool  incoming,
const Packet pPacket,
BuddyPtr  pBuddy 
) [protected]
void DiskSessionRecorder::storeIncoming ( const Packet pPacket,
BuddyPtr  fromBuddy 
) [inline, virtual]

Implements SessionRecorderInterface.

References store().

void DiskSessionRecorder::storeOutgoing ( const Packet pPacket  )  [inline, virtual]

Implements SessionRecorderInterface.

References store().

void DiskSessionRecorder::storeOutgoing ( const Packet pPacket,
BuddyPtr  toBuddy 
) [inline, virtual]

Implements SessionRecorderInterface.

References store().

void DiskSessionRecorder::write ( const void *  data,
int  count 
) [protected]

Member Data Documentation

GError* DiskSessionRecorder::m_Error [protected]

Referenced by DiskSessionRecorder().

GsfOutput* DiskSessionRecorder::m_GsfStream [protected]
const char* DiskSessionRecorder::m_URI [protected]

Referenced by destroy(), and DiskSessionRecorder().


The documentation for this class was generated from the following files: