diff options
Diffstat (limited to 'TAO/examples/PluggableUDP/DIOP/DIOP_Connector.h')
-rw-r--r-- | TAO/examples/PluggableUDP/DIOP/DIOP_Connector.h | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/TAO/examples/PluggableUDP/DIOP/DIOP_Connector.h b/TAO/examples/PluggableUDP/DIOP/DIOP_Connector.h index f2bf1174b37..a91765d6dd2 100644 --- a/TAO/examples/PluggableUDP/DIOP/DIOP_Connector.h +++ b/TAO/examples/PluggableUDP/DIOP/DIOP_Connector.h @@ -14,18 +14,23 @@ */ //============================================================================= + #ifndef TAO_DIOP_CONNECTOR_H #define TAO_DIOP_CONNECTOR_H #include "ace/pre.h" -#include "tao/Pluggable.h" -#include "DIOP_Connection_Handler.h" -#include "diop_export.h" +#include "ace/Connector.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "ace/SOCK_Connector.h" +#include "tao/Pluggable.h" +#include "tao/Connector_Impl.h" +#include "DIOP_Connection_Handler.h" +#include "diop_export.h" + // **************************************************************** /** @@ -72,6 +77,22 @@ protected: /// initialize <tcp_properties_>. int init_tcp_properties (void); +public: + + typedef TAO_Connect_Concurrency_Strategy<TAO_DIOP_Connection_Handler> + TAO_DIOP_CONNECT_CONCURRENCY_STRATEGY; + + typedef TAO_Connect_Creation_Strategy<TAO_DIOP_Connection_Handler> + TAO_DIOP_CONNECT_CREATION_STRATEGY; + + typedef ACE_Connect_Strategy<TAO_DIOP_Connection_Handler, + ACE_SOCK_CONNECTOR> + TAO_DIOP_CONNECT_STRATEGY ; + + typedef ACE_Strategy_Connector<TAO_DIOP_Connection_Handler, + ACE_SOCK_CONNECTOR> + TAO_DIOP_BASE_CONNECTOR; + protected: /// TCP configuration properties to be used for all |