summaryrefslogtreecommitdiff
path: root/TAO/tao/DynamicInterface/DII_Invocation.h
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-11-13 20:38:58 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-11-13 20:38:58 +0000
commit156c443457793a8de6fa8784adba9e1e10f1cf78 (patch)
tree78a7e42e4b96b81006e73b5eb3cdfdc0c2a1000e /TAO/tao/DynamicInterface/DII_Invocation.h
parentfbe5c37c4544cca97d2cc8edad759c4a1eb0c98b (diff)
downloadATCD-156c443457793a8de6fa8784adba9e1e10f1cf78.tar.gz
ChangeLogTag: Mon Nov 13 14:35:33 2000 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/DynamicInterface/DII_Invocation.h')
-rw-r--r--TAO/tao/DynamicInterface/DII_Invocation.h43
1 files changed, 31 insertions, 12 deletions
diff --git a/TAO/tao/DynamicInterface/DII_Invocation.h b/TAO/tao/DynamicInterface/DII_Invocation.h
index 3c9bc21e96e..f2d64e79199 100644
--- a/TAO/tao/DynamicInterface/DII_Invocation.h
+++ b/TAO/tao/DynamicInterface/DII_Invocation.h
@@ -11,8 +11,9 @@
// The DII invocation classes.
//
// = AUTHOR
-// Carlos O'Ryan <coryan@cs.wustl.edu> and Alexander Babu Arulanthu
-// <alex@cs.wustl.edu>
+// Carlos O'Ryan <coryan@cs.wustl.edu>
+// Alexander Babu Arulanthu <alex@cs.wustl.edu>
+// Jeff Parsons <parsons@cs.wustl.edu>
//
// ============================================================================
@@ -31,14 +32,40 @@
#include "DII_Reply_Dispatcher.h"
#include "Request.h"
+class TAO_GIOP_DII_Invocation : public TAO_GIOP_Twoway_Invocation
+{
+ // = TITLE
+ // Sends a two-way request using DII.
+ //
+ // = DESCRIPTION
+ // This class replaces just one method - invoke - of its base
+ // class with one of a slightly different signature. The class
+ // is not exported because it is only instantiated by
+ // CORBA::Request in this library.
+ //
+public:
+ TAO_GIOP_DII_Invocation (TAO_Stub *data,
+ const char *operation,
+ CORBA::ULong opname_len,
+ TAO_ORB_Core *orb_core);
+ // Constructor.
+
+ int invoke (CORBA::ExceptionList_ptr exceptions,
+ CORBA_Environment &ACE_TRY_ENV =
+ TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException,CORBA::UnknownUserException));
+ // Send request, block until any reply comes back, and unmarshal
+ // reply parameters as appropriate.
+};
+
class TAO_DynamicInterface_Export TAO_GIOP_DII_Deferred_Invocation
: public TAO_GIOP_Invocation
{
// = TITLE
- // Sends a two-way request does not expect the reply.
+ // Sends a two-way request using DII and does not wait for a reply.
//
// = DESCRIPTION
- // This class connects (or lookups a connection from the cache) to
+ // This class connects (or looks up a connection from the cache) to
// the remote server, builds the CDR stream for the Request, send
// the CDR stream and returns.
//
@@ -48,20 +75,12 @@ public:
const CORBA::Request_ptr req);
// Constructor.
- void start (CORBA_Environment &TAO_IN_ENV =
- TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
- // Calls TAO_GIOP_Asynch_Invocation::start.
-
int invoke (CORBA_Environment &TAO_IN_ENV =
TAO_default_environment ())
ACE_THROW_SPEC ((CORBA::SystemException));
// Send request, block until any reply comes back, and unmarshal
// reply parameters as appropriate.
- const IOP::ServiceContextList& reply_service_info (void) const;
- // Accessor to the reply ServiceContextList.
-
private:
int invoke_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException));