Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

LSOCK_Connector.cpp

Go to the documentation of this file.
00001 #include "ace_pch.h"
00002 // LSOCK_Connector.cpp
00003 // $Id: LSOCK_Connector.cpp,v 1.1.1.4.2.1 2003/03/13 19:44:21 chad Exp $
00004 
00005 #include "ace/LSOCK_Connector.h"
00006 #if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS)
00007 
00008 #include "ace/Log_Msg.h"
00009 
00010 ACE_RCSID(ace, LSOCK_Connector, "$Id: LSOCK_Connector.cpp,v 1.1.1.4.2.1 2003/03/13 19:44:21 chad Exp $")
00011 
00012 #if defined (ACE_LACKS_INLINE_FUNCTIONS)
00013 #include "ace/LSOCK_Connector.i"
00014 #endif
00015 
00016 ACE_ALLOC_HOOK_DEFINE(ACE_LSOCK_Connector)
00017 
00018 void
00019 ACE_LSOCK_Connector::dump (void) const
00020 {
00021   ACE_TRACE ("ACE_LSOCK_Connector::dump");
00022 
00023   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00024   ACE_DEBUG ((LM_DEBUG,  ACE_LIB_TEXT ("\n")));
00025   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00026 }
00027 
00028 ACE_LSOCK_Connector::ACE_LSOCK_Connector (void)
00029 {
00030   ACE_TRACE ("ACE_LSOCK_Connector::ACE_LSOCK_Connector");
00031 }
00032 
00033 // Establish a connection.
00034 ACE_LSOCK_Connector::ACE_LSOCK_Connector (ACE_LSOCK_Stream &new_stream, 
00035                                           const ACE_UNIX_Addr &remote_sap, 
00036                                           ACE_Time_Value *timeout,
00037                                           const ACE_Addr &local_sap,
00038                                           int reuse_addr,
00039                                           int flags,
00040                                           int perms)
00041   : ACE_SOCK_Connector (new_stream,
00042                         remote_sap,
00043                         timeout,
00044                         local_sap,
00045                         reuse_addr,
00046                         flags,
00047                         perms)
00048 {
00049   ACE_TRACE ("ACE_LSOCK_Connector::ACE_LSOCK_Connector");
00050   // This is necessary due to the weird inheritance relationships of
00051   // ACE_LSOCK_Stream.
00052   new_stream.set_handle (new_stream.get_handle ());
00053 }
00054 
00055 #endif /* ACE_LACKS_UNIX_DOMAIN_SOCKETS */

Generated on Mon Jun 16 11:20:02 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002