NDEventCallback Class Reference
Interface class providing event handling callbacks.
More...
List of all members.
Detailed Description
An interface class providing event handling callbacks. Provides callbacks for servers to verify events, and for servers and clients to execute events.
Member Function Documentation
| NDResult NDEventCallback::handleExecuteEvent |
( |
NDEvent * |
evt |
) |
[pure virtual] |
Execute an event
- Parameters:
-
| evt | the event to be executed |
- Returns:
- NDRES_OK on success
-
??? nonzero on error?
| NDResult NDEventCallback::handleVerifyEvent |
( |
NDEvent * |
evt |
) |
[pure virtual] |
Verify an event
- Parameters:
-
| evt | the event to be verified |
- Returns:
- NDRES_OK if the event is correct and allowed
-
??? nonzero on error?