[6916] Fixed typos in spell checking code.
[getmangos.git] / dep / ACE_wrappers / ace / LSOCK_Connector.cpp
blobc1e21b9d5420a3af7bd41f18c51c07ab0ccbd484
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)
18 void
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,
40 int reuse_addr,
41 int flags,
42 int perms)
43 : ACE_SOCK_Connector (new_stream,
44 remote_sap,
45 timeout,
46 local_sap,
47 reuse_addr,
48 flags,
49 perms)
51 ACE_TRACE ("ACE_LSOCK_Connector::ACE_LSOCK_Connector");
52 // This is necessary due to the weird inheritance relationships of
53 // ACE_LSOCK_Stream.
54 new_stream.set_handle (new_stream.get_handle ());
57 ACE_END_VERSIONED_NAMESPACE_DECL
59 #endif /* ACE_LACKS_UNIX_DOMAIN_SOCKETS */