#include <LSOCK_CODgram.h>
Inheritance diagram for ACE_LSOCK_CODgram:


Public Member Functions | |
| ACE_LSOCK_CODgram (void) | |
| Default constructor. | |
| ACE_LSOCK_CODgram (const ACE_Addr &remote_sap, const ACE_Addr &local_sap=ACE_Addr::sap_any, int protocol_family=PF_UNIX, int protocol=0) | |
| Initiate a connected-datagram. | |
| int | open (const ACE_Addr &remote_sap, const ACE_Addr &local_sap=ACE_Addr::sap_any, int protocol_family=PF_UNIX, int protocol=0) |
| Initiate a connected-datagram. | |
| ACE_HANDLE | get_handle (void) const |
| Get underlying handle. | |
| void | set_handle (ACE_HANDLE) |
| Set underlying handle. | |
| void | dump (void) const |
| Dump the state of an object. | |
Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. | |
Definition at line 38 of file LSOCK_CODgram.h.
|
|
Default constructor.
Definition at line 10 of file LSOCK_CODgram.inl. References ACE_TRACE.
00011 {
00012 ACE_TRACE ("ACE_LSOCK_CODgram::ACE_LSOCK_CODgram");
00013 }
|
|
||||||||||||||||||||
|
Initiate a connected-datagram.
Definition at line 49 of file LSOCK_CODgram.cpp. References ACE_ERROR, ACE_LIB_TEXT, ACE_TRACE, LM_ERROR, and open().
|
|
|
Dump the state of an object.
Reimplemented from ACE_LSOCK. Definition at line 19 of file LSOCK_CODgram.cpp. References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_TRACE, ACE_LSOCK::dump(), ACE_SOCK_CODgram::dump(), and LM_DEBUG.
00020 {
00021 #if defined (ACE_HAS_DUMP)
00022 ACE_TRACE ("ACE_LSOCK_CODgram::dump");
00023
00024 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00025 ACE_SOCK_CODgram::dump ();
00026 ACE_LSOCK::dump ();
00027 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00028 #endif /* ACE_HAS_DUMP */
00029 }
|
|
|
Get underlying handle.
Reimplemented from ACE_LSOCK. Definition at line 24 of file LSOCK_CODgram.inl. References ACE_TRACE, and ACE_IPC_SAP::get_handle().
00025 {
00026 ACE_TRACE ("ACE_LSOCK_CODgram::get_handle");
00027 return this->ACE_SOCK_CODgram::get_handle ();
00028 }
|
|
||||||||||||||||||||
|
Initiate a connected-datagram.
Definition at line 34 of file LSOCK_CODgram.cpp. References ACE_TRACE, ACE_SOCK_CODgram::open(), and ACE_LSOCK::set_handle(). Referenced by ACE_LSOCK_CODgram().
00038 {
00039 ACE_TRACE ("ACE_LSOCK_CODgram::open");
00040 if (ACE_SOCK_CODgram::open (remote, local, protocol_family,
00041 protocol) == -1)
00042 return -1;
00043 ACE_LSOCK::set_handle (this->get_handle ());
00044 return 0;
00045 }
|
|
|
Set underlying handle.
Reimplemented from ACE_LSOCK. Definition at line 16 of file LSOCK_CODgram.inl. References ACE_TRACE, ACE_LSOCK::set_handle(), and ACE_IPC_SAP::set_handle().
00017 {
00018 ACE_TRACE ("ACE_LSOCK_CODgram::set_handle");
00019 this->ACE_SOCK_CODgram::set_handle (h);
00020 this->ACE_LSOCK::set_handle (h);
00021 }
|
|
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_LSOCK. Definition at line 67 of file LSOCK_CODgram.h. |
1.3.6