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


Public Methods | |
| ACE_LSOCK_CODgram (void) | |
| Default constructor. More... | |
| 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. More... | |
| 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. More... | |
| ACE_HANDLE | get_handle (void) const |
| Get underlying handle. More... | |
| void | set_handle (ACE_HANDLE) |
| Set underlying 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 36 of file LSOCK_CODgram.h.
|
|
Default constructor.
Definition at line 9 of file LSOCK_CODgram.i. References ACE_TRACE.
00010 {
00011 ACE_TRACE ("ACE_LSOCK_CODgram::ACE_LSOCK_CODgram");
00012 }
|
|
||||||||||||||||||||
|
Initiate a connected-datagram.
Definition at line 47 of file LSOCK_CODgram.cpp. References ACE_ERROR, ACE_LIB_TEXT, ACE_TRACE, LM_ERROR, and open.
00051 {
00052 ACE_TRACE ("ACE_LSOCK_CODgram::ACE_LSOCK_CODgram");
00053 if (this->open (remote, local, protocol_family,
00054 protocol) == -1)
00055 ACE_ERROR ((LM_ERROR, ACE_LIB_TEXT ("%p\n"), ACE_LIB_TEXT ("ACE_LSOCK_CODgram")));
00056 }
|
|
|
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 ACE_TRACE ("ACE_LSOCK_CODgram::dump");
00022
00023 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00024 ACE_SOCK_CODgram::dump ();
00025 ACE_LSOCK::dump ();
00026 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00027 }
|
|
|
Get underlying handle.
Reimplemented from ACE_LSOCK. Definition at line 23 of file LSOCK_CODgram.i. References ACE_TRACE, and ACE_IPC_SAP::get_handle.
00024 {
00025 ACE_TRACE ("ACE_LSOCK_CODgram::get_handle");
00026 return this->ACE_SOCK_CODgram::get_handle ();
00027 }
|
|
||||||||||||||||||||
|
Initiate a connected-datagram.
Definition at line 32 of file LSOCK_CODgram.cpp. References ACE_TRACE, ACE_SOCK_CODgram::open, and ACE_LSOCK::set_handle. Referenced by ACE_LSOCK_CODgram.
00036 {
00037 ACE_TRACE ("ACE_LSOCK_CODgram::open");
00038 if (ACE_SOCK_CODgram::open (remote, local, protocol_family,
00039 protocol) == -1)
00040 return -1;
00041 ACE_LSOCK::set_handle (this->get_handle ());
00042 return 0;
00043 }
|
|
|
Set underlying handle.
Reimplemented from ACE_LSOCK. Definition at line 15 of file LSOCK_CODgram.i. References ACE_TRACE, ACE_LSOCK::set_handle, and ACE_IPC_SAP::set_handle.
00016 {
00017 ACE_TRACE ("ACE_LSOCK_CODgram::set_handle");
00018 this->ACE_SOCK_CODgram::set_handle (h);
00019 this->ACE_LSOCK::set_handle (h);
00020 }
|
|
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_LSOCK. Definition at line 65 of file LSOCK_CODgram.h. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002