ACE 8.0.0
Loading...
Searching...
No Matches
Protected Member Functions | Protected Attributes | Friends | List of all members
ACE_WIN32_Asynch_Timer Class Reference

This class is posted to the completion port when a timer expires. When the complete method of this object is called, the handler's handle_timeout method will be called. More...

#include <WIN32_Proactor.h>

Inheritance diagram for ACE_WIN32_Asynch_Timer:
Inheritance graph
[legend]
Collaboration diagram for ACE_WIN32_Asynch_Timer:
Collaboration graph
[legend]

Protected Member Functions

 ACE_WIN32_Asynch_Timer (const ACE_Handler::Proxy_Ptr &handler_proxy, const void *act, const ACE_Time_Value &tv, ACE_HANDLE event=ACE_INVALID_HANDLE, int priority=0, int signal_number=0)
 Constructor.
 
virtual void complete (size_t bytes_transferred, int success, const void *completion_key, u_long error=0)
 This method calls the handler's handle_timeout method.
 

Protected Attributes

ACE_Time_Value time_
 Time value requested by caller.
 

Friends

class ACE_WIN32_Proactor
 

Detailed Description

This class is posted to the completion port when a timer expires. When the complete method of this object is called, the handler's handle_timeout method will be called.

Constructor & Destructor Documentation

◆ ACE_WIN32_Asynch_Timer()

ACE_WIN32_Asynch_Timer::ACE_WIN32_Asynch_Timer ( const ACE_Handler::Proxy_Ptr & handler_proxy,
const void * act,
const ACE_Time_Value & tv,
ACE_HANDLE event = ACE_INVALID_HANDLE,
int priority = 0,
int signal_number = 0 )
protected

Constructor.

Member Function Documentation

◆ complete()

void ACE_WIN32_Asynch_Timer::complete ( size_t bytes_transferred,
int success,
const void * completion_key,
u_long error = 0 )
protectedvirtual

This method calls the handler's handle_timeout method.

Friends And Related Symbol Documentation

◆ ACE_WIN32_Proactor

The factory method for this class is with the POSIX_Proactor class.

Member Data Documentation

◆ time_

ACE_Time_Value ACE_WIN32_Asynch_Timer::time_
protected

Time value requested by caller.


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