Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

NormalIMBase Class Reference

#include <evaimreceive.h>

Inherited by ReceivedFileExIpIM, ReceivedFileIM, and ReceivedNormalIM.

Inheritance diagram for NormalIMBase:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 NormalIMBase ()
 NormalIMBase (const unsigned char *buf, const int len)
 NormalIMBase (const NormalIMBase &rhs)
virtual ~NormalIMBase ()
void setNormalIMBase (const NormalIMBase *base)
const unsigned char * getBodyData () const
const int getBodyLength () const
const short getSenderVersion () const
const int getSender () const
const int getReceiver () const
const unsigned char * getBuddyFileSessionKey () const
const short getNormalIMType () const
const short getSequence () const
const int getSendTime () const
const char getUnknown1 () const
const short getSenderFace () const
void parseData ()
NormalIMBaseoperator= (const NormalIMBase &rhs)

Protected Member Functions

virtual void parseContents (const unsigned char *buf, const int len)

Protected Attributes

unsigned char * bodyBuf
int bodyLength

Private Member Functions

int readHeader (const unsigned char *buf)

Private Attributes

short senderVersion
int sender
int receiver
unsigned char fileSessionKey [16]
short type
short sequence
int sendTime
char unknown1
short senderFace

Detailed Description

Definition at line 81 of file evaimreceive.h.


Constructor & Destructor Documentation

NormalIMBase::NormalIMBase  )  [inline]
 

Definition at line 83 of file evaimreceive.h.

NormalIMBase::NormalIMBase const unsigned char *  buf,
const int  len
 

Definition at line 140 of file evaimreceive.cpp.

References bodyBuf, and bodyLength.

NormalIMBase::NormalIMBase const NormalIMBase rhs  ) 
 

Definition at line 147 of file evaimreceive.cpp.

NormalIMBase::~NormalIMBase  )  [virtual]
 

Definition at line 152 of file evaimreceive.cpp.

References bodyBuf.


Member Function Documentation

const unsigned char* NormalIMBase::getBodyData  )  const [inline]
 

Definition at line 89 of file evaimreceive.h.

References bodyBuf.

Referenced by operator=().

const int NormalIMBase::getBodyLength  )  const [inline]
 

Definition at line 90 of file evaimreceive.h.

References bodyLength.

Referenced by operator=().

const unsigned char* NormalIMBase::getBuddyFileSessionKey  )  const [inline]
 

Definition at line 95 of file evaimreceive.h.

References fileSessionKey.

Referenced by operator=().

const short NormalIMBase::getNormalIMType  )  const [inline]
 

Definition at line 96 of file evaimreceive.h.

References type.

Referenced by operator=(), and ReceivedFileIM::parseContents().

const int NormalIMBase::getReceiver  )  const [inline]
 

Definition at line 94 of file evaimreceive.h.

References receiver.

Referenced by operator=().

const int NormalIMBase::getSender  )  const [inline]
 

Definition at line 93 of file evaimreceive.h.

References sender.

Referenced by operator=().

const short NormalIMBase::getSenderFace  )  const [inline]
 

Definition at line 100 of file evaimreceive.h.

References senderFace.

Referenced by operator=().

const short NormalIMBase::getSenderVersion  )  const [inline]
 

Definition at line 92 of file evaimreceive.h.

References senderVersion.

Referenced by operator=().

const int NormalIMBase::getSendTime  )  const [inline]
 

Definition at line 98 of file evaimreceive.h.

References sendTime.

Referenced by operator=().

const short NormalIMBase::getSequence  )  const [inline]
 

Definition at line 97 of file evaimreceive.h.

References sequence.

Referenced by operator=().

const char NormalIMBase::getUnknown1  )  const [inline]
 

Definition at line 99 of file evaimreceive.h.

References unknown1.

Referenced by operator=().

NormalIMBase & NormalIMBase::operator= const NormalIMBase rhs  ) 
 

Definition at line 168 of file evaimreceive.cpp.

References bodyBuf, bodyLength, fileSessionKey, getBodyData(), getBodyLength(), getBuddyFileSessionKey(), getNormalIMType(), getReceiver(), getSender(), getSenderFace(), getSenderVersion(), getSendTime(), getSequence(), getUnknown1(), receiver, sender, senderFace, senderVersion, sendTime, sequence, type, and unknown1.

Here is the call graph for this function:

void NormalIMBase::parseContents const unsigned char *  buf,
const int  len
[protected, virtual]
 

Reimplemented in ReceivedNormalIM, ReceivedFileIM, and ReceivedFileExIpIM.

Definition at line 186 of file evaimreceive.cpp.

Referenced by parseData().

void NormalIMBase::parseData  ) 
 

Definition at line 162 of file evaimreceive.cpp.

References bodyBuf, bodyLength, parseContents(), and readHeader().

Here is the call graph for this function:

int NormalIMBase::readHeader const unsigned char *  buf  )  [private]
 

Definition at line 191 of file evaimreceive.cpp.

References fileSessionKey, receiver, sender, senderFace, senderVersion, sendTime, sequence, and type.

Referenced by parseData().

void NormalIMBase::setNormalIMBase const NormalIMBase base  ) 
 

Definition at line 157 of file evaimreceive.cpp.


Member Data Documentation

unsigned char* NormalIMBase::bodyBuf [protected]
 

Definition at line 107 of file evaimreceive.h.

Referenced by getBodyData(), NormalIMBase(), operator=(), parseData(), and ~NormalIMBase().

int NormalIMBase::bodyLength [protected]
 

Definition at line 108 of file evaimreceive.h.

Referenced by getBodyLength(), NormalIMBase(), operator=(), and parseData().

unsigned char NormalIMBase::fileSessionKey[16] [private]
 

Definition at line 113 of file evaimreceive.h.

Referenced by getBuddyFileSessionKey(), operator=(), and readHeader().

int NormalIMBase::receiver [private]
 

Definition at line 112 of file evaimreceive.h.

Referenced by getReceiver(), operator=(), and readHeader().

int NormalIMBase::sender [private]
 

Definition at line 111 of file evaimreceive.h.

Referenced by getSender(), operator=(), and readHeader().

short NormalIMBase::senderFace [private]
 

Definition at line 118 of file evaimreceive.h.

Referenced by getSenderFace(), operator=(), and readHeader().

short NormalIMBase::senderVersion [private]
 

Definition at line 110 of file evaimreceive.h.

Referenced by getSenderVersion(), operator=(), and readHeader().

int NormalIMBase::sendTime [private]
 

Definition at line 116 of file evaimreceive.h.

Referenced by getSendTime(), operator=(), and readHeader().

short NormalIMBase::sequence [private]
 

Definition at line 115 of file evaimreceive.h.

Referenced by getSequence(), operator=(), and readHeader().

short NormalIMBase::type [private]
 

Definition at line 114 of file evaimreceive.h.

Referenced by getNormalIMType(), operator=(), and readHeader().

char NormalIMBase::unknown1 [private]
 

Definition at line 117 of file evaimreceive.h.

Referenced by getUnknown1(), and operator=().


The documentation for this class was generated from the following files:
Generated on Mon May 15 20:51:37 2006 for libeva by  doxygen 1.4.4