Create a Local ACE_SOCK, which is used for passing file descriptors. More...
#include <LSOCK.h>
Public Member Functions | |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Protected Member Functions | |
ACE_LSOCK (void) | |
Default constructor. | |
ACE_LSOCK (ACE_HANDLE handle) | |
Initialize based on handle. | |
ACE_HANDLE | get_handle (void) const |
Get handle. | |
void | set_handle (ACE_HANDLE handle) |
Set handle. | |
Private Attributes | |
ACE_HANDLE | aux_handle_ |
An auxiliary handle used to avoid virtual base classes... |
Create a Local ACE_SOCK, which is used for passing file descriptors.
Definition at line 37 of file LSOCK.h.
ACE_LSOCK::ACE_LSOCK | ( | void | ) | [inline, protected] |
Default constructor.
Definition at line 10 of file LSOCK.inl.
: aux_handle_ (ACE_INVALID_HANDLE) { ACE_TRACE ("ACE_LSOCK::ACE_LSOCK"); }
ACE_LSOCK::ACE_LSOCK | ( | ACE_HANDLE | handle | ) | [inline, protected] |
Initialize based on handle.
Definition at line 37 of file LSOCK.inl.
: aux_handle_ (handle) { ACE_TRACE ("ACE_LSOCK::ACE_LSOCK"); }
void ACE_LSOCK::dump | ( | void | ) | const |
Dump the state of an object.
Reimplemented in ACE_LSOCK_CODgram, ACE_LSOCK_Dgram, and ACE_LSOCK_Stream.
Definition at line 21 of file LSOCK.cpp.
{ #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_LSOCK::dump"); ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("aux_handle_ = %d"), this->aux_handle_)); ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); #endif /* ACE_HAS_DUMP */ }
ACE_HANDLE ACE_LSOCK::get_handle | ( | void | ) | const [inline, protected] |
Get handle.
Reimplemented in ACE_LSOCK_CODgram, ACE_LSOCK_Dgram, and ACE_LSOCK_Stream.
Definition at line 28 of file LSOCK.inl.
{ ACE_TRACE ("ACE_LSOCK::get_handle"); return this->aux_handle_; }
void ACE_LSOCK::set_handle | ( | ACE_HANDLE | handle | ) | [inline, protected] |
Set handle.
Reimplemented in ACE_LSOCK_CODgram, ACE_LSOCK_Dgram, and ACE_LSOCK_Stream.
Definition at line 19 of file LSOCK.inl.
{ ACE_TRACE ("ACE_LSOCK::set_handle"); this->aux_handle_ = handle; }
Declare the dynamic allocation hooks.
Reimplemented in ACE_LSOCK_CODgram, ACE_LSOCK_Dgram, and ACE_LSOCK_Stream.
ACE_HANDLE ACE_LSOCK::aux_handle_ [private] |