AddContactRequest Class Reference

Request send to the server to add a contact. More...

#include <addcontactrequest.h>

Inheritance diagram for AddContactRequest:

Request BaseMessage List of all members.

Public Member Functions

 AddContactRequest (const std::string &sContactName)
 Constructor.
 ~AddContactRequest ()
 Destructor.
void setPseudo (const std::string &sContactName)
 Sets the contact name to add.
std::string getContactName () const
 Returns the contact name to add.
void toXMLExt (XMLWriter &writer) const
 Writes a XML representation of this object.
string toString () const
 Returns request string representation.
AddContactRequestcopy () const
 Returns a copy of this message.

Detailed Description

Request send to the server to add a contact.

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

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


Constructor & Destructor Documentation

AddContactRequest::AddContactRequest const std::string &  sContactName  ) 
 

Constructor.

Parameters:
sContactName Contact name to add.


Member Function Documentation

AddContactRequest & AddContactRequest::copy  )  const [virtual]
 

Returns a copy of this message.

Returns:
Copy of the message.

Implements BaseMessage.

std::string AddContactRequest::getContactName  )  const [inline]
 

Returns the contact name to add.

Returns:
Contact name to add

void AddContactRequest::setPseudo const std::string &  sContactName  )  [inline]
 

Sets the contact name to add.

Parameters:
sContactName Contact name to add.

string AddContactRequest::toString  )  const [virtual]
 

Returns request string representation.

Returns:
String representation.

Reimplemented from Request.

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

Writes a XML representation of this object.

Parameters:
writer XMLWriter object use to write.

Implements Request.


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