#include <LSOCK_Dgram.h>
Inheritance diagram for ACE_LSOCK_Dgram:


Public Methods | |
| ACE_LSOCK_Dgram (void) | |
| Default constructor. More... | |
| ACE_LSOCK_Dgram (const ACE_Addr &local, int protocol_family=PF_UNIX, int protocol=0) | |
| Initiate a local dgram. More... | |
| int | open (const ACE_Addr &local, int protocol_family=PF_UNIX, int protocol=0) |
| Initiate a local dgram. More... | |
| ACE_HANDLE | get_handle (void) const |
| Get handle. More... | |
| void | set_handle (ACE_HANDLE) |
| Set handle. More... | |
| void | dump (void) const |
| Dump the state of an object. More... | |
Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. More... | |
Definition at line 35 of file LSOCK_Dgram.h.
|
|
Default constructor.
Definition at line 30 of file LSOCK_Dgram.cpp. References ACE_TRACE.
00031 {
00032 ACE_TRACE ("ACE_LSOCK_Dgram::ACE_LSOCK_Dgram");
00033 }
|
|
||||||||||||||||
|
Initiate a local dgram.
Definition at line 53 of file LSOCK_Dgram.cpp. References ACE_ERROR, ACE_LIB_TEXT, ACE_TRACE, LM_ERROR, and open.
00056 {
00057 ACE_TRACE ("ACE_LSOCK_Dgram::ACE_LSOCK_Dgram");
00058 if (this->open (local,
00059 protocol_family,
00060 protocol) == -1)
00061 ACE_ERROR ((LM_ERROR,
00062 ACE_LIB_TEXT ("%p\n"),
00063 ACE_LIB_TEXT ("ACE_LSOCK_Dgram")));
00064 }
|
|
|
Dump the state of an object.
Reimplemented from ACE_LSOCK. Definition at line 18 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.
00019 {
00020 ACE_TRACE ("ACE_LSOCK_Dgram::dump");
00021
00022 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00023 ACE_SOCK_Dgram::dump ();
00024 ACE_LSOCK::dump ();
00025 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00026 }
|
|
|
Get handle.
Reimplemented from ACE_LSOCK. Definition at line 15 of file LSOCK_Dgram.i. References ACE_TRACE, and ACE_IPC_SAP::get_handle.
00016 {
00017 ACE_TRACE ("ACE_LSOCK_Dgram::get_handle");
00018 return this->ACE_SOCK_Dgram::get_handle ();
00019 }
|
|
||||||||||||||||
|
Initiate a local dgram.
Definition at line 38 of file LSOCK_Dgram.cpp. References ACE_TRACE, ACE_SOCK_Dgram::open, and ACE_LSOCK::set_handle. Referenced by ACE_LSOCK_Dgram.
00041 {
00042 ACE_TRACE ("ACE_LSOCK_Dgram::open");
00043 if (ACE_SOCK_Dgram::open (local,
00044 protocol_family,
00045 protocol) == -1)
00046 return -1;
00047 ACE_LSOCK::set_handle (this->ACE_SOCK_Dgram::get_handle ());
00048 return 0;
00049 }
|
|
|
Set handle.
Reimplemented from ACE_LSOCK. Definition at line 7 of file LSOCK_Dgram.i. References ACE_TRACE, ACE_LSOCK::set_handle, and ACE_IPC_SAP::set_handle.
00008 {
00009 ACE_TRACE ("ACE_LSOCK_Dgram::set_handle");
00010 this->ACE_SOCK_Dgram::set_handle (h);
00011 this->ACE_LSOCK::set_handle (h);
00012 }
|
|
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_LSOCK. Definition at line 62 of file LSOCK_Dgram.h. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002