ConnectionAnswer Class Reference

Answer received after a connection request. More...

#include <connectionanswer.h>

Inheritance diagram for ConnectionAnswer:

Answer BaseMessage List of all members.

Public Member Functions

 ConnectionAnswer (const bool bValue=false)
 Default constructor.
 ConnectionAnswer (const bool bValue, const std::string &description, const Contact &contact)
 Constructor.
 ~ConnectionAnswer ()
 Destructor.
void setContact (const Contact &contact)
 Sets the contact.
Contact getContact () const
 Returns contact.
std::string toString () const
 Returns a BaseMessage string represention.
void processMessage () const
 Process message instructions.
ConnectionAnswercopy () const
 Returns a copy of this message.

Detailed Description

Answer received after a connection request.

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

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


Constructor & Destructor Documentation

ConnectionAnswer::ConnectionAnswer const bool  bValue = false  ) 
 

Default constructor.

Parameters:
bValue Answer value.

ConnectionAnswer::ConnectionAnswer const bool  bValue,
const std::string &  description,
const Contact contact
 

Constructor.

Parameters:
bValue Answer value.
description Short answer desciption.
contact Contact object representing the user.


Member Function Documentation

ConnectionAnswer & ConnectionAnswer::copy  )  const [virtual]
 

Returns a copy of this message.

Returns:
Copy of the message.

Implements BaseMessage.

Contact ConnectionAnswer::getContact  )  const [inline]
 

Returns contact.

Returns:
Contact representing the user.

void ConnectionAnswer::setContact const Contact contact  )  [inline]
 

Sets the contact.

Parameters:
contact Contact representing the user.

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

Returns a BaseMessage string represention.

Returns:
BaseMessage String representation.

Reimplemented from Answer.


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