00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file UIPMC_Wait_Never.h 00006 * 00007 * UIPMC_Wait_Never.h,v 1.5 2006/03/14 06:14:34 jtc Exp 00008 * 00009 * @author Frank Hunleth <fhunleth@cs.wustl.edu> 00010 */ 00011 //============================================================================= 00012 00013 00014 #ifndef TAO_UIPMC_WAIT_NEVER_H 00015 #define TAO_UIPMC_WAIT_NEVER_H 00016 #include /**/ "ace/pre.h" 00017 00018 #include "tao/Wait_Strategy.h" 00019 00020 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00021 # pragma once 00022 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00023 00024 #include "orbsvcs/PortableGroup/portablegroup_export.h" 00025 00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00027 00028 /** 00029 * @class TAO_UIPMC_Wait_Never 00030 * 00031 * @brief Since two-ways are not supported by UIPMC and more 00032 * generally, anything that requires waiting isn't supported, so 00033 * return error if anyone tries to do this. 00034 */ 00035 class TAO_PortableGroup_Export TAO_UIPMC_Wait_Never : public TAO_Wait_Strategy 00036 { 00037 00038 public: 00039 /// Constructor. 00040 TAO_UIPMC_Wait_Never (TAO_Transport *transport); 00041 00042 /// Destructor. 00043 virtual ~TAO_UIPMC_Wait_Never (void); 00044 00045 // = Documented in TAO_Wait_Strategy. 00046 virtual int sending_request (TAO_ORB_Core *orb_core, 00047 int two_way); 00048 virtual int wait (ACE_Time_Value *max_wait_time, 00049 TAO_Synch_Reply_Dispatcher &rd); 00050 virtual int register_handler (void); 00051 virtual bool non_blocking (void) const; 00052 virtual bool can_process_upcalls (void) const; 00053 }; 00054 00055 TAO_END_VERSIONED_NAMESPACE_DECL 00056 00057 #include /**/ "ace/post.h" 00058 #endif /* TAO_UIPMC_WAIT_NEVER_H */