#include <event.h>
List of all members.
Detailed Description
A base class for events.
- Author:
- Jakob Schroeter <js@camaya.net>
- Since:
- 1.0
Definition at line 28 of file event.h.
Member Enumeration Documentation
Event types.
- Enumerator:
PingPing |
Incoming Ping (XEP-0199).
|
PingPong |
Incoming Pong (XEP-0199).
|
PingError |
Incoming Error Pong (XEP-0199).
|
Definition at line 35 of file event.h.
Constructor & Destructor Documentation
Creates a new Event of the given type.
- Parameters:
-
Definition at line 46 of file event.h.
Creates a new Event of the given type, referencing the given Stanza.
- Parameters:
-
type | The Event type. |
stanza | A Stanza to point at. No copy of the Stanza is taken, just its address. |
Definition at line 53 of file event.h.
virtual ~Event |
( |
| ) |
[inline, virtual] |
Virtual Destructor.
Definition at line 58 of file event.h.
Member Function Documentation
Returns a pointer to a Stanza-derived object.
- Returns:
- A pointer to a Stanza that caused the event. May be 0.
- Note:
- You should not delete the Stanza object.
Definition at line 71 of file event.h.
The documentation for this class was generated from the following file: