Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

ICQ2000::AuthAckEvent Class Reference

An Authorisation Acknowledge (success/failure). More...

#include <events.h>

Inheritance diagram for ICQ2000::AuthAckEvent:

ICQ2000::ICQMessageEvent ICQ2000::MessageEvent ICQ2000::Event List of all members.

Public Methods

 AuthAckEvent (ContactRef c, bool granted)
 Constructor for the Authorisation Acknowledgement.

 AuthAckEvent (ContactRef c, bool granted, time_t time)
 Constructor for the Authorisation Acknowledgement.

 AuthAckEvent (ContactRef c, const string &msg, bool granted)
 Constructor for the Authorisation Acknowledgement.

 AuthAckEvent (ContactRef c, const string &msg, bool granted, time_t time)
 Constructor for the Authorisation Acknowledgement.

string getMessage () const
 get the authorisation message

MessageType getType () const
 get the type of the MessageEvent

bool isGranted () const
 get if the authorisation was granted

ICQMessageEventcopy () const

Detailed Description

An Authorisation Acknowledge (success/failure).


Constructor & Destructor Documentation

ICQ2000::AuthAckEvent::AuthAckEvent ContactRef    c,
bool    granted
 

Constructor for the Authorisation Acknowledgement.

Parameters:
c  the contact
granted  if authorisation was granted

ICQ2000::AuthAckEvent::AuthAckEvent ContactRef    c,
bool    granted,
time_t    t
 

Constructor for the Authorisation Acknowledgement.

Parameters:
c  the contact
granted  if authorisation was granted
t  time the message was sent

ICQ2000::AuthAckEvent::AuthAckEvent ContactRef    c,
const string &    msg,
bool    granted
 

Constructor for the Authorisation Acknowledgement.

Parameters:
c  the contact
msg  the authorisation message
granted  if authorisation was granted

ICQ2000::AuthAckEvent::AuthAckEvent ContactRef    c,
const string &    msg,
bool    granted,
time_t    t
 

Constructor for the Authorisation Acknowledgement.

Parameters:
c  the contact
msg  the authorisation message
granted  if authorisation was granted
t  time the message was sent


Member Function Documentation

string ICQ2000::AuthAckEvent::getMessage   const
 

get the authorisation message

Returns:
the authorisation message

MessageEvent::MessageType ICQ2000::AuthAckEvent::getType   const [virtual]
 

get the type of the MessageEvent

Returns:
the type of the message

Implements ICQ2000::MessageEvent.

bool ICQ2000::AuthAckEvent::isGranted   const
 

get if the authorisation was granted

Returns:
if the authorisation was granted


The documentation for this class was generated from the following files:
Generated on Sat Jul 20 16:59:08 2002 for libicq2000 by doxygen1.2.16