CryptedMessageError Class Reference

Error sent when a contact has sent a crypted message, and the receiver doesn't support it. More...

#include <cryptedmessageerror.h>

Inheritance diagram for CryptedMessageError:

Error BaseMessage List of all members.

Public Member Functions

 CryptedMessageError (const int errorSender=-1, const int errorReceiver=-1)
 Constructor.
 CryptedMessageError (const int errorSender, const int errorReceiver, const std::string &description)
 Constructor.
 ~CryptedMessageError ()
 Destructor.
int getErrorSender () const
 Returns the error sender.
void setErrorSender (const int errorSender)
 Sets the error sender.
int getErrorReceiver () const
 Returns the error receiver.
void setErrorReceiver (const int errorReceiver)
 Sets the error receiver.
void toXMLExt (XMLWriter &writer) const
 Writes a XML object representation.
void processMessage () const
 Processes the error.
virtual std::string toString () const
 Returns a string representation of the answer.
virtual CryptedMessageErrorcopy () const
 Returns a copy of this message.

Detailed Description

Error sent when a contact has sent a crypted message, and the receiver doesn't support it.

Author:
Sylvain Archenault <sylvain.archenault@laposte.net>

Yves Houpert <yves.houpert@insa-rouen.fr>


Constructor & Destructor Documentation

CryptedMessageError::CryptedMessageError const int  errorSender = -1,
const int  errorReceiver = -1
 

Constructor.

Parameters:
errorSender Error sender.
errorReceiver Error receiver, to who this error has to be sent.

CryptedMessageError::CryptedMessageError const int  errorSender,
const int  errorReceiver,
const std::string &  description
 

Constructor.

Parameters:
errorSender Error sender.
errorReceiver Error receiver, to who this error has to be sent.
description Short error description.


Member Function Documentation

CryptedMessageError & CryptedMessageError::copy  )  const [virtual]
 

Returns a copy of this message.

Returns:
Copy of the message.

Reimplemented from Error.

int CryptedMessageError::getErrorReceiver  )  const [inline]
 

Returns the error receiver.

Returns:
Error receiver.

int CryptedMessageError::getErrorSender  )  const [inline]
 

Returns the error sender.

Returns:
Error sender.

void CryptedMessageError::setErrorReceiver const int  errorReceiver  )  [inline]
 

Sets the error receiver.

Parameters:
errorReceiver Error receiver, to who this error has to be sent.

void CryptedMessageError::setErrorSender const int  errorSender  )  [inline]
 

Sets the error sender.

Parameters:
errorSender Error sender.

std::string CryptedMessageError::toString  )  const [virtual]
 

Returns a string representation of the answer.

Returns:
String representation.

Reimplemented from Error.

void CryptedMessageError::toXMLExt XMLWriter writer  )  const [virtual]
 

Writes a XML object representation.

Parameters:
writer XMLWriter object used to write XML representation.

Reimplemented from Error.


The documentation for this class was generated from the following files:
Generated on Fri May 19 12:15:55 2006 for Bamboo Ch@t by  doxygen 1.4.6