summaryrefslogtreecommitdiff
path: root/ACE/apps/JAWS3/jaws3/Event_Completer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/apps/JAWS3/jaws3/Event_Completer.h')
-rw-r--r--ACE/apps/JAWS3/jaws3/Event_Completer.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/ACE/apps/JAWS3/jaws3/Event_Completer.h b/ACE/apps/JAWS3/jaws3/Event_Completer.h
new file mode 100644
index 00000000000..6114605437d
--- /dev/null
+++ b/ACE/apps/JAWS3/jaws3/Event_Completer.h
@@ -0,0 +1,43 @@
+/* -*- c++ -*- */
+// $Id$
+
+#ifndef JAWS_EVENT_COMPLETER_H
+#define JAWS_EVENT_COMPLETER_H
+
+#include "jaws3/Export.h"
+#include "jaws3/Event_Result.h"
+
+class JAWS_Event_Completer;
+
+class JAWS_Export JAWS_Event_Completer
+// = TITLE
+// Event completion callback class.
+{
+public:
+
+ virtual ~JAWS_Event_Completer (void);
+
+ virtual void accept_complete (const JAWS_Event_Result &r, void *act = 0);
+ // The callback entry point when input has been read.
+
+ virtual void connect_complete (const JAWS_Event_Result &r, void *act = 0);
+ // The callback entry point when input has been read.
+
+ virtual void input_complete (const JAWS_Event_Result &r, void *act = 0);
+ // The callback entry point when input has been read.
+
+ virtual void output_complete (const JAWS_Event_Result &r, void *act = 0);
+ // The callback entry point when output has been completely written.
+
+ virtual void timer_complete (const JAWS_Event_Result &r, void *act = 0);
+ // The callback entry point when timer has expired.
+
+ virtual void lambda_complete (const JAWS_Event_Result &r, void *act = 0);
+ // The callback entry point when a lambda event completes.
+
+ virtual void default_complete (const JAWS_Event_Result &r, void *act = 0);
+ // The defaul callback entry point when an event completes.
+
+};
+
+#endif /* JAWS_EVENT_COMPLETER_H */