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 Member Functions

ssize_t send_handle (const ACE_HANDLE handle) const
 Send an open FD to another process.
ssize_t recv_handle (ACE_HANDLE &handles, char *pbuf=0, ssize_t *len=0) const
 Recv an open FD from another process.
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...

Detailed Description

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


Constructor & Destructor Documentation

ACE_LSOCK::ACE_LSOCK ( void   )  [protected]

Default constructor.

ACE_LSOCK::ACE_LSOCK ( ACE_HANDLE  handle  )  [protected]

Initialize based on handle.


Member Function Documentation

void ACE_LSOCK::dump ( void   )  const

Dump the state of an object.

Reimplemented in ACE_LSOCK_CODgram, ACE_LSOCK_Dgram, and ACE_LSOCK_Stream.

ACE_HANDLE ACE_LSOCK::get_handle ( void   )  const [protected]

Get handle.

Reimplemented in ACE_LSOCK_CODgram, ACE_LSOCK_Dgram, and ACE_LSOCK_Stream.

ssize_t ACE_LSOCK::recv_handle ( ACE_HANDLE &  handles,
char *  pbuf = 0,
ssize_t len = 0 
) const

Recv an open FD from another process.

ssize_t ACE_LSOCK::send_handle ( const ACE_HANDLE  handle  )  const

Send an open FD to another process.

void ACE_LSOCK::set_handle ( ACE_HANDLE  handle  )  [protected]

Set handle.

Reimplemented in ACE_LSOCK_CODgram, ACE_LSOCK_Dgram, and ACE_LSOCK_Stream.


Member Data Documentation

Declare the dynamic allocation hooks.

Reimplemented in ACE_LSOCK_CODgram, ACE_LSOCK_Dgram, and ACE_LSOCK_Stream.

ACE_HANDLE ACE_LSOCK::aux_handle_ [private]

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


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Mon Nov 30 00:52:25 2009 for ACE by  doxygen 1.6.1