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

EvaRequestAgentPacket Class Reference

#include <evarequestagent.h>

Inherits EvaPicOutPacket.

Inheritance diagram for EvaRequestAgentPacket:

Inheritance graph
[legend]
Collaboration diagram for EvaRequestAgentPacket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EvaRequestAgentPacket (const unsigned char *fileAgentToken, const unsigned short tokenLength)
 EvaRequestAgentPacket (const EvaRequestAgentPacket &rhs)
virtual ~EvaRequestAgentPacket ()
EvaRequestAgentPacketoperator= (const EvaRequestAgentPacket &rhs)
const unsigned int getQunID () const
const unsigned char * getMD5 () const
const std::string & getFileName () const
const unsigned int getImageLength () const
void setQunID (const unsigned int id)
void setMd5 (const unsigned char *value)
void setImageLength (const unsigned short len)
void setFileName (const std::string &name)
const unsigned char * getFileAgentToken () const
const unsigned short getTokenLength () const

Protected Member Functions

int putBody (unsigned char *buf)

Private Attributes

unsigned int qunID
unsigned char md5 [16]
unsigned int imageLength
std::string fileName
unsigned char * fileAgentToken
unsigned short tokenLength

Detailed Description

Definition at line 27 of file evarequestagent.h.


Constructor & Destructor Documentation

EvaRequestAgentPacket::EvaRequestAgentPacket const unsigned char *  fileAgentToken,
const unsigned short  tokenLength
 

Definition at line 30 of file evarequestagent.cpp.

References EvaPicPacket::cryptPosition, fileAgentToken, and tokenLength.

EvaRequestAgentPacket::EvaRequestAgentPacket const EvaRequestAgentPacket rhs  ) 
 

Definition at line 39 of file evarequestagent.cpp.

EvaRequestAgentPacket::~EvaRequestAgentPacket  )  [virtual]
 

Definition at line 45 of file evarequestagent.cpp.

References fileAgentToken.


Member Function Documentation

const unsigned char* EvaRequestAgentPacket::getFileAgentToken  )  const [inline]
 

Definition at line 46 of file evarequestagent.h.

References EvaPicPacket::fileAgentKey.

Referenced by operator=().

const std::string& EvaRequestAgentPacket::getFileName  )  const [inline]
 

Definition at line 37 of file evarequestagent.h.

References fileName.

Referenced by operator=().

const unsigned int EvaRequestAgentPacket::getImageLength  )  const [inline]
 

Definition at line 38 of file evarequestagent.h.

References imageLength.

Referenced by operator=().

const unsigned char* EvaRequestAgentPacket::getMD5  )  const [inline]
 

Definition at line 36 of file evarequestagent.h.

References md5.

Referenced by operator=().

const unsigned int EvaRequestAgentPacket::getQunID  )  const [inline]
 

Definition at line 35 of file evarequestagent.h.

References qunID.

Referenced by operator=().

const unsigned short EvaRequestAgentPacket::getTokenLength  )  const [inline]
 

Definition at line 47 of file evarequestagent.h.

Referenced by operator=().

EvaRequestAgentPacket & EvaRequestAgentPacket::operator= const EvaRequestAgentPacket rhs  ) 
 

Definition at line 50 of file evarequestagent.cpp.

References fileAgentToken, fileName, getFileAgentToken(), getFileName(), getImageLength(), getMD5(), getQunID(), getTokenLength(), imageLength, md5, qunID, and tokenLength.

Here is the call graph for this function:

int EvaRequestAgentPacket::putBody unsigned char *  buf  )  [protected, virtual]
 

Reimplemented from EvaPicOutPacket.

Definition at line 67 of file evarequestagent.cpp.

References EvaUtil::doMd5(), fileAgentToken, fileName, imageLength, md5, qunID, and tokenLength.

Here is the call graph for this function:

void EvaRequestAgentPacket::setFileName const std::string &  name  )  [inline]
 

Definition at line 44 of file evarequestagent.h.

References fileName.

void EvaRequestAgentPacket::setImageLength const unsigned short  len  )  [inline]
 

Definition at line 43 of file evarequestagent.h.

References imageLength.

void EvaRequestAgentPacket::setMd5 const unsigned char *  value  ) 
 

Definition at line 62 of file evarequestagent.cpp.

References md5.

void EvaRequestAgentPacket::setQunID const unsigned int  id  )  [inline]
 

Definition at line 41 of file evarequestagent.h.

References qunID.


Member Data Documentation

unsigned char* EvaRequestAgentPacket::fileAgentToken [private]
 

Definition at line 58 of file evarequestagent.h.

Referenced by EvaRequestAgentPacket(), operator=(), putBody(), and ~EvaRequestAgentPacket().

std::string EvaRequestAgentPacket::fileName [private]
 

Definition at line 56 of file evarequestagent.h.

Referenced by getFileName(), operator=(), putBody(), and setFileName().

unsigned int EvaRequestAgentPacket::imageLength [private]
 

Definition at line 55 of file evarequestagent.h.

Referenced by getImageLength(), operator=(), putBody(), and setImageLength().

unsigned char EvaRequestAgentPacket::md5[16] [private]
 

Definition at line 54 of file evarequestagent.h.

Referenced by getMD5(), operator=(), putBody(), and setMd5().

unsigned int EvaRequestAgentPacket::qunID [private]
 

Definition at line 51 of file evarequestagent.h.

Referenced by getQunID(), operator=(), putBody(), and setQunID().

unsigned short EvaRequestAgentPacket::tokenLength [private]
 

Definition at line 59 of file evarequestagent.h.

Referenced by EvaRequestAgentPacket(), operator=(), and putBody().


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