#include <LSOCK_Dgram.h>
Inheritance diagram for ACE_LSOCK_Dgram:
Public Member Functions | |
ACE_LSOCK_Dgram (void) | |
Default constructor. | |
ACE_LSOCK_Dgram (const ACE_Addr &local, int protocol_family=PF_UNIX, int protocol=0) | |
Initiate a local dgram. | |
int | open (const ACE_Addr &local, int protocol_family=PF_UNIX, int protocol=0) |
Initiate a local dgram. | |
ACE_HANDLE | get_handle (void) const |
Get handle. | |
void | set_handle (ACE_HANDLE) |
Set 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 36 of file LSOCK_Dgram.h.
|
Default constructor.
Definition at line 33 of file LSOCK_Dgram.cpp. References ACE_TRACE.
00034 { 00035 ACE_TRACE ("ACE_LSOCK_Dgram::ACE_LSOCK_Dgram"); 00036 } |
|
Initiate a local dgram.
Definition at line 56 of file LSOCK_Dgram.cpp. References ACE_ERROR, ACE_TEXT, ACE_TRACE, LM_ERROR, and open().
|
|
Dump the state of an object.
Reimplemented from ACE_LSOCK. Definition at line 19 of file LSOCK_Dgram.cpp. References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_TRACE, ACE_LSOCK::dump(), ACE_SOCK_Dgram::dump(), and LM_DEBUG.
00020 { 00021 #if defined (ACE_HAS_DUMP) 00022 ACE_TRACE ("ACE_LSOCK_Dgram::dump"); 00023 00024 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); 00025 ACE_SOCK_Dgram::dump (); 00026 ACE_LSOCK::dump (); 00027 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); 00028 #endif /* ACE_HAS_DUMP */ 00029 } |
|
Get handle.
Reimplemented from ACE_LSOCK. Definition at line 16 of file LSOCK_Dgram.inl. References ACE_TRACE, and ACE_IPC_SAP::get_handle().
00017 { 00018 ACE_TRACE ("ACE_LSOCK_Dgram::get_handle"); 00019 return this->ACE_SOCK_Dgram::get_handle (); 00020 } |
|
Initiate a local dgram.
Definition at line 41 of file LSOCK_Dgram.cpp. References ACE_TRACE, ACE_SOCK_Dgram::open(), and ACE_LSOCK::set_handle(). Referenced by ACE_LSOCK_Dgram().
00044 { 00045 ACE_TRACE ("ACE_LSOCK_Dgram::open"); 00046 if (ACE_SOCK_Dgram::open (local, 00047 protocol_family, 00048 protocol) == -1) 00049 return -1; 00050 ACE_LSOCK::set_handle (this->ACE_SOCK_Dgram::get_handle ()); 00051 return 0; 00052 } |
|
Set handle.
Reimplemented from ACE_LSOCK. Definition at line 8 of file LSOCK_Dgram.inl. References ACE_TRACE, ACE_LSOCK::set_handle(), and ACE_IPC_SAP::set_handle().
00009 { 00010 ACE_TRACE ("ACE_LSOCK_Dgram::set_handle"); 00011 this->ACE_SOCK_Dgram::set_handle (h); 00012 this->ACE_LSOCK::set_handle (h); 00013 } |
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_LSOCK. Definition at line 63 of file LSOCK_Dgram.h. |