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

ICQ2000::DisconnectedEvent Class Reference

This event is signalled when the client has been disconnected from the ICQ network. More...

#include <events.h>

Inheritance diagram for ICQ2000::DisconnectedEvent::

ICQ2000::Event List of all members.

Public Types

enum  Reason {
  REQUESTED, FAILED_LOWLEVEL, FAILED_BADUSERNAME, FAILED_TURBOING,
  FAILED_BADPASSWORD, FAILED_MISMATCH_PASSWD, FAILED_DUALLOGIN, FAILED_UNKNOWN
}
 enum for Reasons for disconnection.


Public Methods

 DisconnectedEvent (Reason r)
 Constructor for a DisconnectedEvent.

Reason getReason () const
 get the reason for disconnection. More...


Detailed Description

This event is signalled when the client has been disconnected from the ICQ network.

This may happen even without having a ConnectedEvent, if for example you password fails at login and you are disconnected.


Member Function Documentation

DisconnectedEvent::Reason ICQ2000::DisconnectedEvent::getReason   const
 

get the reason for disconnection.

Returns:
reason for disconnection


The documentation for this class was generated from the following files:
Generated on Tue Jan 15 12:24:37 2002 for libicq2000 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001