ACE  6.4.2
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
ACE_ATM_Acceptor Class Reference

Defines the member functions for ACE_ATM_Acceptor abstraction. More...

#include <ATM_Acceptor.h>

Public Types

typedef ACE_ATM_Addr PEER_ADDR
 
typedef ACE_ATM_Stream PEER_STREAM
 

Public Member Functions

 ACE_ATM_Acceptor (void)
 Default constructor. More...
 
 ~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. More...
 
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. More...
 
int close (void)
 Close down the acceptor and release resources. More...
 
int accept (ACE_ATM_Stream &new_sap, ACE_Addr *remote_addr=0, ACE_Time_Value *timeout=0, bool restart=true, bool reset_new_handle=false, 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. More...
 
void dump (void) const
 Dump the state of an object. More...
 

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...
 

Private Attributes

ATM_Acceptor acceptor_
 

Detailed Description

Defines the member functions for ACE_ATM_Acceptor abstraction.

This class wraps up the ACE_SOCK_Acceptor and ACE_TLI_Acceptor to make the mechanism for the ATM protocol transparent.

Member Typedef Documentation

Constructor & Destructor Documentation

ACE_ATM_Acceptor::ACE_ATM_Acceptor ( void  )

Default constructor.

ACE_ATM_Acceptor::~ACE_ATM_Acceptor ( void  )
ACE_ATM_Acceptor::ACE_ATM_Acceptor ( const ACE_Addr remote_sap,
int  backlog = ACE_DEFAULT_BACKLOG,
ACE_ATM_Params  params = ACE_ATM_Params() 
)
inline

Initiate a passive mode connection.

Member Function Documentation

int ACE_ATM_Acceptor::accept ( ACE_ATM_Stream new_sap,
ACE_Addr remote_addr = 0,
ACE_Time_Value timeout = 0,
bool  restart = true,
bool  reset_new_handle = false,
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."

int ACE_ATM_Acceptor::close ( void  )
inline

Close down the acceptor and release resources.

void ACE_ATM_Acceptor::dump ( void  ) const
inline

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.

Member Data Documentation

ATM_Acceptor ACE_ATM_Acceptor::acceptor_
private
ACE_ATM_Acceptor::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.


The documentation for this class was generated from the following files: