summaryrefslogtreecommitdiff
path: root/ACE/apps/JAWS3/jaws3/Protocol_Handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/apps/JAWS3/jaws3/Protocol_Handler.h')
-rw-r--r--ACE/apps/JAWS3/jaws3/Protocol_Handler.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/ACE/apps/JAWS3/jaws3/Protocol_Handler.h b/ACE/apps/JAWS3/jaws3/Protocol_Handler.h
index 11cc55d0dc3..92a534d3392 100644
--- a/ACE/apps/JAWS3/jaws3/Protocol_Handler.h
+++ b/ACE/apps/JAWS3/jaws3/Protocol_Handler.h
@@ -9,22 +9,18 @@
class JAWS_Export JAWS_Protocol_State
{
-
friend class JAWS_Protocol_Handler;
public:
-
virtual ~JAWS_Protocol_State (void);
protected:
-
virtual int service (JAWS_Event_Completer *, void *data) = 0;
virtual JAWS_Protocol_State * transition ( const JAWS_Event_Result &
, void *data
, void *act
) = 0;
-
};
class JAWS_Export JAWS_Protocol_Handler
@@ -32,13 +28,11 @@ class JAWS_Export JAWS_Protocol_Handler
// = TITLE
// Abstraction that interacts with concurrency dispatching.
{
-
friend class JAWS_TPOOL_Concurrency;
friend class JAWS_TPR_Concurrency;
friend class JAWS_THYBRID_Concurrency;
public:
-
JAWS_Protocol_Handler (JAWS_Protocol_State *state = 0, void *data = 0);
virtual int service (void);
@@ -49,12 +43,10 @@ public:
}
protected:
-
virtual ~JAWS_Protocol_Handler (void);
// Try to guarantee this class will be created dynamically.
protected:
-
void event_complete (const JAWS_Event_Result &result, void *act);
// The event completion routine that triggers the transition
// to the next Protocol State.
@@ -65,14 +57,12 @@ protected:
}
private:
-
JAWS_Protocol_State *state_;
void *data_;
ACE_Data_Block db_;
ACE_Message_Block mb_;
-
};