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 std::string &msg, bool granted)
 Constructor for the Authorisation Acknowledgement.

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

std::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

ICQMessageEvent * copy () 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 std::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 std::string &    msg,
bool    granted,
time_t    time
) 
 

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 Sun Jul 21 10:57:33 2002 for libicq2000 by doxygen1.2.16