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:


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 1.1.1.5 2005/01/03 19:36:15 chad Exp

Author:
Joe Hoffert

Typedef Documentation

typedef ACE_ATM_Addr PEER_ADDR
 

typedef ACE_ATM_Stream PEER_STREAM
 


Function Documentation

int ACE_ATM_Acceptor::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_ATM_Acceptor::ACE_ATM_Acceptor void   ) 
 

Default constructor.

int ACE_ATM_Acceptor::close void   ) 
 

Close down the acceptor and release resources.

void ACE_ATM_Acceptor::dump void   )  const
 

Dump the state of an object.

int ACE_ATM_Acceptor::get_local_addr ACE_ATM_Addr local_addr  ) 
 

Get the local address currently listening on.

ACE_HANDLE ACE_ATM_Acceptor::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 Wed Nov 23 15:46:52 2005 for ACE by  doxygen 1.4.5