## NAME

ACE_Svc_Tuple - Holds the ACE_Svc_Handler and its argument and `ACE_Timer_Handle` until an asynchronous connection completes.

## SYNOPSIS

    #include <ace/Connector.h>

    template<class SVC_HANDLER>
    class ACE_Svc_Tuple
    {
      public:
        ACE_Svc_Tuple (
            SVC_HANDLER *,
            ACE_HANDLE,
            const void * = 0,
            long timer_id = -1
            );
        SVC_HANDLER *svc_handler (void);
        ACE_HANDLE handle (void);
        void handle (ACE_HANDLE);
        const void *arg (void);
        void arg (const void *);
        long cancellation_id (void);
        void cancellation_id (long timer_id);
        void dump (void) const;
        ACE_ALLOC_HOOK_DECLARE;
      private:
        SVC_HANDLER *svc_handler_;
        ACE_HANDLE handle_;
        const void *arg_;
        long cancellation_id_;
    };

## DESCRIPTION

This is a no-brainer...

## Initialization methods.

    ACE_Svc_Tuple (
        SVC_HANDLER *,
        ACE_HANDLE,
        const void * = 0,
        long timer_id = -1
        );

## Get SVC_HANDLER.

    SVC_HANDLER *svc_handler (void);

## Get/set handle.

    ACE_HANDLE handle (void);

Get handle.

    void handle (ACE_HANDLE);

Set handle.

## Get/set argument.

    const void *arg (void);

Get argument.

    void arg (const void *);

Set argument.

## Set/get timer cancellation handle.

    long cancellation_id (void);

Get cancellation id.

    void cancellation_id (long timer_id);

Set cancellation id.

    void dump (void) const;

Dump the state of an object.

    ACE_ALLOC_HOOK_DECLARE;

Declare the dynamic allocation hooks.

## AUTHOR

Doug Schmidt

## LIBRARY

ace