1 // $Id: LSOCK_Connector.cpp 80826 2008-03-04 14:51:23Z wotte $
3 #include "ace/LSOCK_Connector.h"
4 #if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS)
6 #include "ace/Log_Msg.h"
8 ACE_RCSID(ace
, LSOCK_Connector
, "$Id: LSOCK_Connector.cpp 80826 2008-03-04 14:51:23Z wotte $")
10 #if !defined (__ACE_INLINE__)
11 #include "ace/LSOCK_Connector.inl"
12 #endif /* __ACE_INLINE__ */
14 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
16 ACE_ALLOC_HOOK_DEFINE(ACE_LSOCK_Connector
)
19 ACE_LSOCK_Connector::dump (void) const
21 #if defined (ACE_HAS_DUMP)
22 ACE_TRACE ("ACE_LSOCK_Connector::dump");
24 ACE_DEBUG ((LM_DEBUG
, ACE_BEGIN_DUMP
, this));
25 ACE_DEBUG ((LM_DEBUG
, ACE_TEXT ("\n")));
26 ACE_DEBUG ((LM_DEBUG
, ACE_END_DUMP
));
27 #endif /* ACE_HAS_DUMP */
30 ACE_LSOCK_Connector::ACE_LSOCK_Connector (void)
32 ACE_TRACE ("ACE_LSOCK_Connector::ACE_LSOCK_Connector");
35 // Establish a connection.
36 ACE_LSOCK_Connector::ACE_LSOCK_Connector (ACE_LSOCK_Stream
&new_stream
,
37 const ACE_UNIX_Addr
&remote_sap
,
38 ACE_Time_Value
*timeout
,
39 const ACE_Addr
&local_sap
,
43 : ACE_SOCK_Connector (new_stream
,
51 ACE_TRACE ("ACE_LSOCK_Connector::ACE_LSOCK_Connector");
52 // This is necessary due to the weird inheritance relationships of
54 new_stream
.set_handle (new_stream
.get_handle ());
57 ACE_END_VERSIONED_NAMESPACE_DECL
59 #endif /* ACE_LACKS_UNIX_DOMAIN_SOCKETS */