#include <LSOCK_Connector.h>
Inheritance diagram for ACE_LSOCK_Connector:


Public Types | |
| typedef ACE_UNIX_Addr | PEER_ADDR |
| typedef ACE_LSOCK_Stream | PEER_STREAM |
Public Member Functions | |
| ACE_LSOCK_Connector (void) | |
| Default constructor. | |
| ACE_LSOCK_Connector (ACE_LSOCK_Stream &new_stream, const ACE_UNIX_Addr &remote_sap, ACE_Time_Value *timeout=0, const ACE_Addr &local_sap=ACE_Addr::sap_any, int reuse_addr=0, int flags=0, int perms=0) | |
| int | connect (ACE_LSOCK_Stream &new_stream, const ACE_UNIX_Addr &remote_sap, ACE_Time_Value *timeout=0, const ACE_Addr &local_sap=ACE_Addr::sap_any, int reuse_addr=0, int flags=0, int perms=0) |
| void | dump (void) const |
| Dump the state of an object. | |
Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. | |
Definition at line 37 of file LSOCK_Connector.h.
|
|
Reimplemented from ACE_SOCK_Connector. Definition at line 73 of file LSOCK_Connector.h. |
|
|
Reimplemented from ACE_SOCK_Connector. Definition at line 74 of file LSOCK_Connector.h. |
|
|
Default constructor.
Definition at line 30 of file LSOCK_Connector.cpp. References ACE_TRACE.
00031 {
00032 ACE_TRACE ("ACE_LSOCK_Connector::ACE_LSOCK_Connector");
00033 }
|
|
||||||||||||||||||||||||||||||||
|
Actively connect and produce a if things go well. All arguments are relayed to the ACE_SOCK_Connector constructor for handling.
Definition at line 36 of file LSOCK_Connector.cpp. References ACE_TRACE, ACE_LSOCK_Stream::get_handle(), and ACE_LSOCK_Stream::set_handle().
00043 : ACE_SOCK_Connector (new_stream, 00044 remote_sap, 00045 timeout, 00046 local_sap, 00047 reuse_addr, 00048 flags, 00049 perms) 00050 { 00051 ACE_TRACE ("ACE_LSOCK_Connector::ACE_LSOCK_Connector"); 00052 // This is necessary due to the weird inheritance relationships of 00053 // ACE_LSOCK_Stream. 00054 new_stream.set_handle (new_stream.get_handle ()); 00055 } |
|
||||||||||||||||||||||||||||||||
|
Actively connect and produce a if things go well. The
Definition at line 9 of file LSOCK_Connector.inl. References ACE_TRACE, ACE_SOCK_Connector::connect(), ACE_LSOCK_Stream::get_handle(), and ACE_LSOCK_Stream::set_handle().
00016 {
00017 ACE_TRACE ("ACE_LSOCK_Connector::connect");
00018 int result = ACE_SOCK_Connector::connect (new_stream, remote_sap,
00019 timeout, local_sap,
00020 reuse_addr, flags, perms);
00021 if (result != -1)
00022 // This is necessary due to the weird inheritance relationships of ACE_LSOCK_Stream.
00023 new_stream.set_handle (new_stream.get_handle ());
00024 return result;
00025 }
|
|
|
Dump the state of an object.
Reimplemented from ACE_SOCK_Connector. Definition at line 19 of file LSOCK_Connector.cpp. References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_LIB_TEXT, ACE_TRACE, and LM_DEBUG.
|
|
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_SOCK_Connector. Definition at line 80 of file LSOCK_Connector.h. |
1.3.6