00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file Collocation_Strategy.h 00006 * 00007 * $Id: Collocation_Strategy.h 74014 2006-08-14 13:52:22Z johnnyw $ 00008 * 00009 * @author DOC Group - Wash U and UCI 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_COLLOCATION_STRATEGY_H 00014 #define TAO_COLLOCATION_STRATEGY_H 00015 00016 #include /**/ "ace/pre.h" 00017 #include "tao/orbconf.h" 00018 #include /**/ "tao/Versioned_Namespace.h" 00019 00020 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00021 00022 /// Define symbolic names for the ORB collocation strategies. 00023 namespace TAO 00024 { 00025 enum Collocation_Strategy 00026 { 00027 /// i.e no collocation. 00028 TAO_CS_REMOTE_STRATEGY, 00029 00030 /// Calls to the collocated object are forwarded by the POA. 00031 TAO_CS_THRU_POA_STRATEGY, 00032 00033 /// Calls to the collocated object are made directly to its 00034 /// servant. 00035 TAO_CS_DIRECT_STRATEGY, 00036 00037 /// This value should always be the last value in the enumeration. 00038 /// It provides the count for the number of collocation 00039 /// strategies. 00040 TAO_CS_LAST 00041 }; 00042 } 00043 00044 TAO_END_VERSIONED_NAMESPACE_DECL 00045 00046 #include /**/ "ace/post.h" 00047 00048 #endif /* TAO_COLLOCATION_STRATEGY_H */