1 #include "ace/LSOCK_Connector.h"
2 #if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS)
4 #include "ace/Log_Category.h"
5 #if defined (ACE_HAS_ALLOC_HOOKS)
6 # include "ace/Malloc_Base.h"
7 #endif /* ACE_HAS_ALLOC_HOOKS */
12 #if !defined (__ACE_INLINE__)
13 #include "ace/LSOCK_Connector.inl"
14 #endif /* __ACE_INLINE__ */
16 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
18 ACE_ALLOC_HOOK_DEFINE(ACE_LSOCK_Connector
)
21 ACE_LSOCK_Connector::dump (void) const
23 #if defined (ACE_HAS_DUMP)
24 ACE_TRACE ("ACE_LSOCK_Connector::dump");
26 ACELIB_DEBUG ((LM_DEBUG
, ACE_BEGIN_DUMP
, this));
27 ACELIB_DEBUG ((LM_DEBUG
, ACE_TEXT ("\n")));
28 ACELIB_DEBUG ((LM_DEBUG
, ACE_END_DUMP
));
29 #endif /* ACE_HAS_DUMP */
32 ACE_LSOCK_Connector::ACE_LSOCK_Connector (void)
34 ACE_TRACE ("ACE_LSOCK_Connector::ACE_LSOCK_Connector");
37 // Establish a connection.
38 ACE_LSOCK_Connector::ACE_LSOCK_Connector (ACE_LSOCK_Stream
&new_stream
,
39 const ACE_UNIX_Addr
&remote_sap
,
40 ACE_Time_Value
*timeout
,
41 const ACE_Addr
&local_sap
,
45 : ACE_SOCK_Connector (new_stream
,
53 ACE_TRACE ("ACE_LSOCK_Connector::ACE_LSOCK_Connector");
54 // This is necessary due to the weird inheritance relationships of
56 new_stream
.set_handle (new_stream
.get_handle ());
59 ACE_END_VERSIONED_NAMESPACE_DECL
61 #endif /* ACE_LACKS_UNIX_DOMAIN_SOCKETS */