diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-11-20 00:29:22 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-11-20 00:29:22 +0000 |
commit | 25a3ce1169621a4a8de596631fbcc330045d6d60 (patch) | |
tree | cba380504dcd884f9a6273c4c8af7af921871895 /TAO/tao/TAOC.h | |
parent | 3c0b318d70f61e8231f1e364be8458557787f022 (diff) | |
download | ATCD-25a3ce1169621a4a8de596631fbcc330045d6d60.tar.gz |
Reliable oneway request implementation.
Diffstat (limited to 'TAO/tao/TAOC.h')
-rw-r--r-- | TAO/tao/TAOC.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/TAO/tao/TAOC.h b/TAO/tao/TAOC.h index 3fdd25b2f40..04040dcfb90 100644 --- a/TAO/tao/TAOC.h +++ b/TAO/tao/TAOC.h @@ -11,6 +11,7 @@ #define _TAO_IDL_TAOC_H_ #include "tao/orbconf.h" +#include "tao/varout.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once @@ -21,11 +22,6 @@ #include "tao/PolicyC.h" #include "tao/TimeBaseC.h" -// This file inclusion should be moved outside the -// TAO_HAS_CORBA_MESSAGING scope once more classes have been added to -// the TAO module. -#include "tao/varout.h" - #endif /* TAO_HAS_CORBA_MESSAGING */ #if defined (TAO_EXPORT_MACRO) @@ -400,6 +396,18 @@ class TAO_Export BufferingConstraintPolicy: public virtual CORBA::Policy #endif /* TAO_HAS_CORBA_MESSAGING */ + // It seems easier to have copies of these here than to use + // #if defined (TAO_HAS_CORBA_MESSAGING) everywhere or to + // define a new class TAO_GIOP_Reliable_Oneway_Invocation + typedef CORBA::Short SyncScope; + + TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short SYNC_NONE; + + TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short SYNC_WITH_TRANSPORT; + + TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short SYNC_WITH_SERVER; + + TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short SYNC_WITH_TARGET; } TAO_NAMESPACE_CLOSE // module TAO |