diff options
Diffstat (limited to 'TAO/tao/MessagingC.h')
-rw-r--r-- | TAO/tao/MessagingC.h | 109 |
1 files changed, 62 insertions, 47 deletions
diff --git a/TAO/tao/MessagingC.h b/TAO/tao/MessagingC.h index 84dd0d8b2dc..707fa10de06 100644 --- a/TAO/tao/MessagingC.h +++ b/TAO/tao/MessagingC.h @@ -36,6 +36,8 @@ #include "tao/TimeBaseC.h" #include "tao/PolicyC.h" #include "tao/IOPC.h" +#include "tao/PollableC.h" +#include "tao/varout.h" #if defined (TAO_EXPORT_MACRO) #undef TAO_EXPORT_MACRO @@ -164,12 +166,12 @@ TAO_NAMESPACE Messaging static RebindPolicy_ptr _duplicate (RebindPolicy_ptr obj); static RebindPolicy_ptr _narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static RebindPolicy_ptr _unchecked_narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static RebindPolicy_ptr _nil (void); @@ -180,7 +182,7 @@ TAO_NAMESPACE Messaging ) = 0; virtual CORBA::Boolean _is_a ( const CORBA::Char *type_id, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); virtual const char* _interface_repository_id (void) const; @@ -257,12 +259,12 @@ TAO_NAMESPACE Messaging static SyncScopePolicy_ptr _duplicate (SyncScopePolicy_ptr obj); static SyncScopePolicy_ptr _narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static SyncScopePolicy_ptr _unchecked_narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static SyncScopePolicy_ptr _nil (void); @@ -273,7 +275,7 @@ TAO_NAMESPACE Messaging ) = 0; virtual CORBA::Boolean _is_a ( const CORBA::Char *type_id, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); virtual const char* _interface_repository_id (void) const; @@ -387,12 +389,12 @@ TAO_NAMESPACE Messaging static RequestPriorityPolicy_ptr _duplicate (RequestPriorityPolicy_ptr obj); static RequestPriorityPolicy_ptr _narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static RequestPriorityPolicy_ptr _unchecked_narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static RequestPriorityPolicy_ptr _nil (void); @@ -403,7 +405,7 @@ TAO_NAMESPACE Messaging ) = 0; virtual CORBA::Boolean _is_a ( const CORBA::Char *type_id, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); virtual const char* _interface_repository_id (void) const; @@ -480,12 +482,12 @@ TAO_NAMESPACE Messaging static ReplyPriorityPolicy_ptr _duplicate (ReplyPriorityPolicy_ptr obj); static ReplyPriorityPolicy_ptr _narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static ReplyPriorityPolicy_ptr _unchecked_narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static ReplyPriorityPolicy_ptr _nil (void); @@ -496,7 +498,7 @@ TAO_NAMESPACE Messaging ) = 0; virtual CORBA::Boolean _is_a ( const CORBA::Char *type_id, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); virtual const char* _interface_repository_id (void) const; @@ -573,12 +575,12 @@ TAO_NAMESPACE Messaging static RequestStartTimePolicy_ptr _duplicate (RequestStartTimePolicy_ptr obj); static RequestStartTimePolicy_ptr _narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static RequestStartTimePolicy_ptr _unchecked_narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static RequestStartTimePolicy_ptr _nil (void); @@ -589,7 +591,7 @@ TAO_NAMESPACE Messaging ) = 0; virtual CORBA::Boolean _is_a ( const CORBA::Char *type_id, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); virtual const char* _interface_repository_id (void) const; @@ -666,12 +668,12 @@ TAO_NAMESPACE Messaging static RequestEndTimePolicy_ptr _duplicate (RequestEndTimePolicy_ptr obj); static RequestEndTimePolicy_ptr _narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static RequestEndTimePolicy_ptr _unchecked_narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static RequestEndTimePolicy_ptr _nil (void); @@ -682,7 +684,7 @@ TAO_NAMESPACE Messaging ) = 0; virtual CORBA::Boolean _is_a ( const CORBA::Char *type_id, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); virtual const char* _interface_repository_id (void) const; @@ -759,12 +761,12 @@ TAO_NAMESPACE Messaging static ReplyStartTimePolicy_ptr _duplicate (ReplyStartTimePolicy_ptr obj); static ReplyStartTimePolicy_ptr _narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static ReplyStartTimePolicy_ptr _unchecked_narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static ReplyStartTimePolicy_ptr _nil (void); @@ -775,7 +777,7 @@ TAO_NAMESPACE Messaging ) = 0; virtual CORBA::Boolean _is_a ( const CORBA::Char *type_id, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); virtual const char* _interface_repository_id (void) const; @@ -852,12 +854,12 @@ TAO_NAMESPACE Messaging static ReplyEndTimePolicy_ptr _duplicate (ReplyEndTimePolicy_ptr obj); static ReplyEndTimePolicy_ptr _narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static ReplyEndTimePolicy_ptr _unchecked_narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static ReplyEndTimePolicy_ptr _nil (void); @@ -868,7 +870,7 @@ TAO_NAMESPACE Messaging ) = 0; virtual CORBA::Boolean _is_a ( const CORBA::Char *type_id, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); virtual const char* _interface_repository_id (void) const; @@ -945,12 +947,12 @@ TAO_NAMESPACE Messaging static RelativeRequestTimeoutPolicy_ptr _duplicate (RelativeRequestTimeoutPolicy_ptr obj); static RelativeRequestTimeoutPolicy_ptr _narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static RelativeRequestTimeoutPolicy_ptr _unchecked_narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static RelativeRequestTimeoutPolicy_ptr _nil (void); @@ -961,7 +963,7 @@ TAO_NAMESPACE Messaging ) = 0; virtual CORBA::Boolean _is_a ( const CORBA::Char *type_id, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); virtual const char* _interface_repository_id (void) const; @@ -1038,12 +1040,12 @@ TAO_NAMESPACE Messaging static RelativeRoundtripTimeoutPolicy_ptr _duplicate (RelativeRoundtripTimeoutPolicy_ptr obj); static RelativeRoundtripTimeoutPolicy_ptr _narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static RelativeRoundtripTimeoutPolicy_ptr _unchecked_narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static RelativeRoundtripTimeoutPolicy_ptr _nil (void); @@ -1054,7 +1056,7 @@ TAO_NAMESPACE Messaging ) = 0; virtual CORBA::Boolean _is_a ( const CORBA::Char *type_id, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); virtual const char* _interface_repository_id (void) const; @@ -1168,12 +1170,12 @@ TAO_NAMESPACE Messaging static RoutingPolicy_ptr _duplicate (RoutingPolicy_ptr obj); static RoutingPolicy_ptr _narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static RoutingPolicy_ptr _unchecked_narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static RoutingPolicy_ptr _nil (void); @@ -1184,7 +1186,7 @@ TAO_NAMESPACE Messaging ) = 0; virtual CORBA::Boolean _is_a ( const CORBA::Char *type_id, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); virtual const char* _interface_repository_id (void) const; @@ -1261,12 +1263,12 @@ TAO_NAMESPACE Messaging static MaxHopsPolicy_ptr _duplicate (MaxHopsPolicy_ptr obj); static MaxHopsPolicy_ptr _narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static MaxHopsPolicy_ptr _unchecked_narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static MaxHopsPolicy_ptr _nil (void); @@ -1277,7 +1279,7 @@ TAO_NAMESPACE Messaging ) = 0; virtual CORBA::Boolean _is_a ( const CORBA::Char *type_id, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); virtual const char* _interface_repository_id (void) const; @@ -1354,12 +1356,12 @@ TAO_NAMESPACE Messaging static QueueOrderPolicy_ptr _duplicate (QueueOrderPolicy_ptr obj); static QueueOrderPolicy_ptr _narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static QueueOrderPolicy_ptr _unchecked_narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static QueueOrderPolicy_ptr _nil (void); @@ -1370,7 +1372,7 @@ TAO_NAMESPACE Messaging ) = 0; virtual CORBA::Boolean _is_a ( const CORBA::Char *type_id, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); virtual const char* _interface_repository_id (void) const; @@ -1637,7 +1639,7 @@ TAO_NAMESPACE Messaging class ReplyHandler; typedef ReplyHandler *ReplyHandler_ptr; - + class TAO_Export ReplyHandler_var { public: @@ -1692,19 +1694,19 @@ TAO_NAMESPACE Messaging static ReplyHandler_ptr _duplicate (ReplyHandler_ptr obj); static ReplyHandler_ptr _narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static ReplyHandler_ptr _unchecked_narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static ReplyHandler_ptr _nil (void); virtual CORBA::Boolean _is_a ( const CORBA::Char *type_id, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); virtual const char* _interface_repository_id (void) const; @@ -1779,12 +1781,12 @@ TAO_NAMESPACE Messaging static Poller_ptr _duplicate (Poller_ptr obj); static Poller_ptr _narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static Poller_ptr _unchecked_narrow ( CORBA::Object_ptr obj, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); static Poller_ptr _nil (void); @@ -1820,7 +1822,7 @@ TAO_NAMESPACE Messaging ); virtual CORBA::Boolean _is_a ( const CORBA::Char *type_id, - CORBA::Environment &ACE_TRY_ENV = + CORBA::Environment &env = CORBA::Environment::default_environment () ); virtual const char* _interface_repository_id (void) const; @@ -1837,10 +1839,23 @@ TAO_NAMESPACE Messaging }; TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Poller; -#endif /* 0 */ +#endif /* TAO_POLLER */ }; // module Messaging +// Typedef for the Reply Handler Skeleton. +// This is handcrafted not generated by the IDL compiler. + +class TAO_InputCDR; + +#if defined (TAO_POLLER) +typedef void (*TAO_Reply_Handler_Skeleton)( + TAO_InputCDR &, + Messaging::ReplyHandler *, + CORBA::Environment & + ); +#endif /* TAO_POLLER */ + void TAO_Export operator<<= (CORBA::Any &, Messaging::PriorityRange*); // noncopying version CORBA::Boolean TAO_Export operator>>= (const CORBA::Any &, Messaging::PriorityRange *&); |