diff options
Diffstat (limited to 'TAO/tao/Wait_Strategy.cpp')
-rw-r--r-- | TAO/tao/Wait_Strategy.cpp | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/TAO/tao/Wait_Strategy.cpp b/TAO/tao/Wait_Strategy.cpp new file mode 100644 index 00000000000..9bb05eccd52 --- /dev/null +++ b/TAO/tao/Wait_Strategy.cpp @@ -0,0 +1,46 @@ +// $Id$ + +#include "tao/Wait_Strategy.h" + +//@@ WAIT_STRATEGY_SPL_COPY_HOOK_START + +ACE_RCSID (tao, + Wait_Strategy, + "$Id$") + +#if !defined (__ACE_INLINE__) +# include "tao/Wait_Strategy.inl" +#endif /* __ACE_INLINE__ */ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +// Constructor. +TAO_Wait_Strategy::TAO_Wait_Strategy (TAO_Transport *transport) + : transport_ (transport), + is_registered_ (false) + +{ +} + +// Destructor. +TAO_Wait_Strategy::~TAO_Wait_Strategy (void) +{ +} + +/* + * Hook to comment out this method in the lf wait strategy + */ +//@@ LF_WAIT_STRATEGY_SPL_COMMENT_HOOK_START +int +TAO_Wait_Strategy::sending_request (TAO_ORB_Core *, int) +{ + return 0; +} +//@@ LF_WAIT_STRATEGY_SPL_COMMENT_HOOK_END + +/* + * Hook to specialize the Wait Strategy + */ +//@@ TAO_WAIT_STRATEGY_SPL_ADD_HOOK + +TAO_END_VERSIONED_NAMESPACE_DECL |