Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ATM_Acceptor.h File Reference

#include "ace/config-all.h"
#include "ace/ATM_Stream.h"
#include "ace/ATM_Params.h"
#include "ace/ATM_QoS.h"
#include "ace/ATM_Acceptor.inl"

Include dependency graph for ATM_Acceptor.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Typedefs

typedef ACE_ATM_Addr PEER_ADDR
typedef ACE_ATM_Stream PEER_STREAM

Functions

 ACE_ATM_Acceptor (void)
 Default constructor.
 ~ACE_ATM_Acceptor ()
 ACE_ATM_Acceptor (const ACE_Addr &remote_sap, int backlog=ACE_DEFAULT_BACKLOG, ACE_ATM_Params params=ACE_ATM_Params())
 Initiate a passive mode connection.
ACE_HANDLE open (const ACE_Addr &remote_sap, int backlog=ACE_DEFAULT_BACKLOG, ACE_ATM_Params params=ACE_ATM_Params())
 Initiate a passive mode socket.
int close (void)
 Close down the acceptor and release resources.
int accept (ACE_ATM_Stream &new_sap, ACE_Addr *remote_addr=0, ACE_Time_Value *timeout=0, int restart=1, int reset_new_handle=0, ACE_ATM_Params params=ACE_ATM_Params(), ACE_ATM_QoS qos=ACE_ATM_QoS())
int get_local_addr (ACE_ATM_Addr &local_addr)
 Get the local address currently listening on.
void dump (void) const
 Dump the state of an object.

Variables

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.
ATM_Acceptor acceptor_

Detailed Description

Id
ATM_Acceptor.h,v 4.16 2005/10/28 16:14:51 ossama Exp

Author:
Joe Hoffert

Typedef Documentation

typedef ACE_ATM_Addr PEER_ADDR
 

typedef ACE_ATM_Stream PEER_STREAM
 


Function Documentation

int accept ACE_ATM_Stream new_sap,
ACE_Addr remote_addr = 0,
ACE_Time_Value timeout = 0,
int  restart = 1,
int  reset_new_handle = 0,
ACE_ATM_Params  params = ACE_ATM_Params(),
ACE_ATM_QoS  qos = ACE_ATM_QoS()
 

Accept a new data transfer connection. A <timeout> of 0 means block forever, a <timeout> of {0, 0} means poll. <restart> == 1 means "restart if interrupted."

ACE_INLINE ACE_ATM_Acceptor::ACE_ATM_Acceptor const ACE_Addr remote_sap,
int  backlog = ACE_DEFAULT_BACKLOG,
ACE_ATM_Params  params = ACE_ATM_Params()
 

Initiate a passive mode connection.

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ATM_Acceptor::ACE_ATM_Acceptor void   ) 
 

Default constructor.

int close void   ) 
 

Close down the acceptor and release resources.

void dump void   )  const
 

Dump the state of an object.

int get_local_addr ACE_ATM_Addr local_addr  ) 
 

Get the local address currently listening on.

ACE_HANDLE open const ACE_Addr remote_sap,
int  backlog = ACE_DEFAULT_BACKLOG,
ACE_ATM_Params  params = ACE_ATM_Params()
 

Initiate a passive mode socket.

ACE_ATM_Acceptor::~ACE_ATM_Acceptor  ) 
 


Variable Documentation

ATM_Acceptor acceptor_
 

ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.


Generated on Tue Dec 20 22:24:07 2005 for ACE by  doxygen 1.3.9.1