2
* Whiteboard session manager
3
* Message dispatch devices and timeout triggers
6
* David Yip <yipdw@rose-hulman.edu>
8
* Copyright (c) 2005 Authors
10
* Released under GNU GPL, read the file 'COPYING' for more information
13
#ifndef __WHITEBOARD_CALLBACKS_H__
14
#define __WHITEBOARD_CALLBACKS_H__
20
namespace Whiteboard {
26
* Callback methods used in timers to dispatch MessageNodes from message queues.
33
* \param sm The SessionManager to associate with.
35
Callbacks(SessionManager* sm);
39
* Dispatch a message from the send queue to the associated SessionManager object.
41
* The SessionManager object handles the task of actually sending out a Jabber message.
43
* \see Inkscape::Whiteboard::SessionManager::sendMessage
44
* \return Whether or not this callback should be called again by the timer routine.
46
bool dispatchSendQueue();
49
* Dispatch a message from the receive queue to the associated SessionManager object.
51
* The SessionManager object handles the task of actually processing a Jabber message.
53
* \see Inkscape::Whiteboard::SessionManager::receiveChange
54
* \return Whether or not this callback should be called again by the timer routine.
56
bool dispatchReceiveQueue();
73
c-file-style:"stroustrup"
74
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
79
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :