Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_LSOCK Class Reference

Create a Local ACE_SOCK, which is used for passing file descriptors. More...

#include <LSOCK.h>

Inheritance diagram for ACE_LSOCK:

Inheritance graph
[legend]
List of all members.

Public Methods

void dump (void) const
 Dump the state of an object. More...


Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...


Protected Methods

 ACE_LSOCK (void)
 Default constructor. More...

 ACE_LSOCK (ACE_HANDLE handle)
 Initialize based on <handle>. More...

ACE_HANDLE get_handle (void) const
 Get handle. More...

void set_handle (ACE_HANDLE handle)
 Set handle. More...


Private Attributes

ACE_HANDLE aux_handle_
 An auxiliary handle used to avoid virtual base classes... More...


Detailed Description

Create a Local ACE_SOCK, which is used for passing file descriptors.

Definition at line 34 of file LSOCK.h.


Constructor & Destructor Documentation

ASYS_INLINE ACE_LSOCK::ACE_LSOCK void    [protected]
 

Default constructor.

Definition at line 9 of file LSOCK.i.

References ACE_TRACE.

00010   : aux_handle_ (ACE_INVALID_HANDLE)
00011 {
00012   ACE_TRACE ("ACE_LSOCK::ACE_LSOCK");
00013 }

ASYS_INLINE ACE_LSOCK::ACE_LSOCK ACE_HANDLE    handle [protected]
 

Initialize based on <handle>.

Definition at line 36 of file LSOCK.i.

References ACE_TRACE.

00037   : aux_handle_ (handle)
00038 {
00039   ACE_TRACE ("ACE_LSOCK::ACE_LSOCK");
00040 }


Member Function Documentation

void ACE_LSOCK::dump void    const
 

Dump the state of an object.

Reimplemented in ACE_LSOCK_CODgram.

Definition at line 19 of file LSOCK.cpp.

References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_LIB_TEXT, ACE_TRACE, and LM_DEBUG.

Referenced by ACE_LSOCK_Stream::dump, ACE_LSOCK_Dgram::dump, and ACE_LSOCK_CODgram::dump.

00020 {
00021   ACE_TRACE ("ACE_LSOCK::dump");
00022 
00023   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00024   ACE_DEBUG ((LM_DEBUG,  ACE_LIB_TEXT ("aux_handle_ = %d"), this->aux_handle_));
00025   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00026 }

ASYS_INLINE ACE_HANDLE ACE_LSOCK::get_handle void    const [protected]
 

Get handle.

Reimplemented in ACE_LSOCK_CODgram.

Definition at line 27 of file LSOCK.i.

References ACE_TRACE, and aux_handle_.

00028 {
00029   ACE_TRACE ("ACE_LSOCK::get_handle");
00030   return this->aux_handle_;
00031 }

ASYS_INLINE void ACE_LSOCK::set_handle ACE_HANDLE    handle [protected]
 

Set handle.

Reimplemented in ACE_LSOCK_CODgram.

Definition at line 18 of file LSOCK.i.

References ACE_TRACE, and aux_handle_.

Referenced by ACE_LSOCK_Dgram::open, ACE_LSOCK_CODgram::open, ACE_LSOCK_Stream::set_handle, ACE_LSOCK_Dgram::set_handle, and ACE_LSOCK_CODgram::set_handle.

00019 {
00020   ACE_TRACE ("ACE_LSOCK::set_handle");
00021   this->aux_handle_ = handle;
00022 }


Member Data Documentation

ACE_LSOCK::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Reimplemented in ACE_LSOCK_CODgram.

Definition at line 51 of file LSOCK.h.

ACE_HANDLE ACE_LSOCK::aux_handle_ [private]
 

An auxiliary handle used to avoid virtual base classes...

Definition at line 70 of file LSOCK.h.

Referenced by get_handle, and set_handle.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:49:38 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002