summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_Accept_State.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-17 22:22:22 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-17 22:22:22 +0000
commit2a1b43a0ee1a80473f492094994abf954f0d5f0a (patch)
tree9b98149b0a1c351bd0db97b3d3166672d089e1f9 /TAO/tao/GIOP_Message_Accept_State.h
parent96ea47c8976509d74de71649de96d5ff78fd065e (diff)
downloadATCD-2a1b43a0ee1a80473f492094994abf954f0d5f0a.tar.gz
ChangeLogTag:Fri Mar 17 14:20:01 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/tao/GIOP_Message_Accept_State.h')
-rw-r--r--TAO/tao/GIOP_Message_Accept_State.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/TAO/tao/GIOP_Message_Accept_State.h b/TAO/tao/GIOP_Message_Accept_State.h
index 1d03230037c..c62d507c5f3 100644
--- a/TAO/tao/GIOP_Message_Accept_State.h
+++ b/TAO/tao/GIOP_Message_Accept_State.h
@@ -19,7 +19,11 @@
#include "tao/GIOP_Server_Request.h"
#include "tao/GIOP_Assorted_Headers.h"
-
+// @@ Bala: do we want to have separate classes for the server side
+// and client side? IMHO not, with bi-directional connections the
+// differences will be completely blurred.
+// Please think about designs that do not require separate state
+// objects, a good side effect: that should reduce code size...
class TAO_GIOP_Message_Accept_State
{
// = TITLE
@@ -28,6 +32,7 @@ class TAO_GIOP_Message_Accept_State
// = DESCRIPTION
// An abstract base class for different versions of GIOP. This is
// similar to the base class in the strategy pattern
+ // @@ Bala: Is it an strategy or not!?
//
public:
@@ -56,6 +61,11 @@ public:
private:
};
+// @@ Bala: again you have the inheritance reversed! A 1.1 server (or
+// client) must support 1.0, but not vice-versa.
+// @@ Bala: a physical design issue: if the protocol is truly
+// pluggable then you should be able to (and you should) put the
+// classes for each protocol in separate files.
class TAO_GIOP_Message_Accept_State_11 :
public TAO_GIOP_Message_Accept_State
{