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

ACE_Svc_Tuple< SVC_HANDLER > 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< SVC_HANDLER >:

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.

ACE_HANDLE handle (void)
 Get handle.

void handle (ACE_HANDLE)
 Set handle.

const void * arg (void)
 Get argument.

void arg (const void *)
 Set argument.

long cancellation_id (void)
 Get cancellation id.

void cancellation_id (long timer_id)
 Set cancellation id.

long incr_refcount (void)
long decr_refcount (void)
void dump (void) const
 Dump the state of an object.


Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.


Protected Methods

 ~ACE_Svc_Tuple (void)
 Prevent direct deletion.


Private Attributes

SVC_HANDLER * svc_handler_
 Associated SVC_HANDLER.

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

const void * arg_
 Associated argument.

long cancellation_id_
 Associated cancellation id.

long refcount_

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 *   ,
ACE_HANDLE   ,
const void *    = 0,
long    timer_id = -1
 

template<class SVC_HANDLER>
ACE_Svc_Tuple< SVC_HANDLER >::~ACE_Svc_Tuple void    [protected]
 

Prevent direct deletion.


Member Function Documentation

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

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    timer_id
 

Set cancellation id.

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

Get cancellation id.

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

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   
 

Set handle.

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

Get handle.

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

Increment and decrement refcount within the context of the lock on the ACE_Connector

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< SVC_HANDLER >::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

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

Associated argument.

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

Associated cancellation id.

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

IPC <HANDLE> that we are trying to connect.

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

Reference count manipulated within the context of the connector lock. @ TODO: Things will change after 5.3 goes out of the way.

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

Associated SVC_HANDLER.


The documentation for this class was generated from the following files:
Generated on Wed Feb 19 14:06:12 2003 for ACE by doxygen1.2.18