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

ACE_Svc_Tuple Class Template Reference

Holds the ACE_Svc_Handler and its argument and <ACE_Timer_Handle> until an asynchronous connection completes. More...

#include <Connector.h>

Collaboration diagram for ACE_Svc_Tuple:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACE_Svc_Tuple (SVC_HANDLER *, ACE_HANDLE, const void *=0, long timer_id=-1)
SVC_HANDLER * svc_handler (void)
 Get SVC_HANDLER. More...

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

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

const void * arg (void)
 Get argument. More...

void arg (const void *)
 Set argument. More...

long cancellation_id (void)
 Get cancellation id. More...

void cancellation_id (long timer_id)
 Set cancellation id. 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

SVC_HANDLER * svc_handler_
 Associated SVC_HANDLER. More...

ACE_HANDLE handle_
 IPC <HANDLE> that we are trying to connect. More...

const void * arg_
 Associated argument. More...

long cancellation_id_
 Associated cancellation id. More...


Detailed Description

template<class SVC_HANDLER>
class ACE_Svc_Tuple< SVC_HANDLER >

Holds the ACE_Svc_Handler and its argument and <ACE_Timer_Handle> until an asynchronous connection completes.

This is a no-brainer...


Constructor & Destructor Documentation

template<class SVC_HANDLER>
ACE_Svc_Tuple< SVC_HANDLER >::ACE_Svc_Tuple SVC_HANDLER *    sh,
ACE_HANDLE    handle,
const void *    arg = 0,
long    id = -1
 


Member Function Documentation

template<class SVC_HANDLER>
void ACE_Svc_Tuple< SVC_HANDLER >::arg const void *    v
 

Set argument.

template<class SVC_HANDLER>
const void * ACE_Svc_Tuple< SVC_HANDLER >::arg void   
 

Get argument.

template<class SVC_HANDLER>
void ACE_Svc_Tuple< SVC_HANDLER >::cancellation_id long    id
 

Set cancellation id.

template<class SVC_HANDLER>
long ACE_Svc_Tuple< SVC_HANDLER >::cancellation_id void   
 

Get cancellation id.

template<class SVC_HANDLER>
void ACE_Svc_Tuple< SVC_HANDLER >::dump void    const
 

Dump the state of an object.

template<class SVC_HANDLER>
void ACE_Svc_Tuple< SVC_HANDLER >::handle ACE_HANDLE    h
 

Set handle.

template<class SVC_HANDLER>
ACE_HANDLE ACE_Svc_Tuple< SVC_HANDLER >::handle void   
 

Get handle.

template<class SVC_HANDLER>
SVC_HANDLER * ACE_Svc_Tuple< SVC_HANDLER >::svc_handler void   
 

Get SVC_HANDLER.


Member Data Documentation

template<class SVC_HANDLER>
ACE_Svc_Tuple::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

template<class SVC_HANDLER>
const void* ACE_Svc_Tuple::arg_ [private]
 

Associated argument.

template<class SVC_HANDLER>
long ACE_Svc_Tuple::cancellation_id_ [private]
 

Associated cancellation id.

template<class SVC_HANDLER>
ACE_HANDLE ACE_Svc_Tuple::handle_ [private]
 

IPC <HANDLE> that we are trying to connect.

template<class SVC_HANDLER>
SVC_HANDLER* ACE_Svc_Tuple::svc_handler_ [private]
 

Associated SVC_HANDLER.


The documentation for this class was generated from the following files:
Generated on Thu Oct 10 17:12:56 2002 for ACE by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001