1 /*-----------------------------------------------------------------------------
 2 Name:      I_Timeout.h
 3 Project:   xmlBlaster.org
 4 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
 5 -----------------------------------------------------------------------------*/
 6 
 7 #ifndef _UTIL_I_TIMEOUT_H
 8 #define _UTIL_I_TIMEOUT_H
 9 
10 #include <util/XmlBCfg.h>
11 #include <util/I_Log.h>
12 
13 namespace org { namespace xmlBlaster { namespace util {
14 
15 /**
16  * Abstract class you need to implement to receive timeout notifications
17  * see the omonimous I_Timeout.java.
18  *
19  * @author xmlBlaster@marcelruff.info
20  * @author laghi@swissinfo.org
21  */
22 class  Dll_Export I_Timeout {
23    public:
24       virtual ~I_Timeout() {}
25 
26       /**
27       * You will be notified about the timeout through this method.
28       * @param userData You get bounced back your userData which you passed
29       *                 with Timeout.addTimeoutListener()
30       */
31       virtual void timeout(void *userData) = 0;
32 };
33 
34 }}} // namespaces
35 
36 #endif


syntax highlighted by Code2HTML, v. 0.9.1