#include <Strategies_T.h>
Inheritance diagram for ACE_Connect_Strategy< SVC_HANDLER, >:
Public Types | |
typedef ACE_PEER_CONNECTOR_ADDR | addr_type |
typedef ACE_PEER_CONNECTOR | connector_type |
typedef SVC_HANDLER | handler_type |
typedef ACE_TYPENAME SVC_HANDLER::stream_type | stream_type |
Public Methods | |
ACE_Connect_Strategy (void) | |
Default constructor. | |
virtual ACE_PEER_CONNECTOR & | connector (void) const |
Return a reference to the <peer_connector_>. | |
virtual | ~ACE_Connect_Strategy (void) |
virtual int | connect_svc_handler (SVC_HANDLER *&sh, const ACE_PEER_CONNECTOR_ADDR &remote_addr, ACE_Time_Value *timeout, const ACE_PEER_CONNECTOR_ADDR &local_addr, int reuse_addr, int flags, int perms) |
virtual int | connect_svc_handler (SVC_HANDLER *&sh, SVC_HANDLER *&sh_copy, const ACE_PEER_CONNECTOR_ADDR &remote_addr, ACE_Time_Value *timeout, const ACE_PEER_CONNECTOR_ADDR &local_addr, int reuse_addr, int flags, int perms) |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Protected Attributes | |
ACE_PEER_CONNECTOR | connector_ |
Factory that establishes connections actively. |
This class provides a strategy that manages active connection establishment to a server.
|
|
|
|
|
|
|
|
|
Default constructor.
|
|
|
|
The default behavior delegates to the <connect> method of the <PEER_CONNECTOR::connect>. Please check the documentation in Connector.h for more details. Reimplemented in ACE_Cached_Connect_Strategy< SVC_HANDLER,, MUTEX >, and ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >. |
|
The default behavior delegates to the <connect> method of the <PEER_CONNECTOR::connect>. Reimplemented in ACE_Cached_Connect_Strategy< SVC_HANDLER,, MUTEX >, and ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >. |
|
Return a reference to the <peer_connector_>.
|
|
Dump the state of an object.
|
|
Declare the dynamic allocation hooks.
Reimplemented in ACE_Bounded_Cached_Connect_Strategy< SVC_HANDLER,, CACHING_STRATEGY, ATTRIBUTES, MUTEX >. |
|
Factory that establishes connections actively.
|