class
AckBackHandler
: public ACE_Event_Handler
(Return to index)
specialized ACE_EventHandler for monitoring responses from outgoing connection
Type:
Instantiable
Base Classes:
public ACE_Event_Handler
Derived Classes
Include file:
DrawServ/ackback-handler.h
Description:
= Initialization and termination methods.
Public:
AckBackHandler
()
DrawLink
*
drawlink
()
get
DrawLink
associated with this handler
void
drawlink
(
DrawLink
* link)
set
DrawLink
associated with this handler
virtual ACE_HANDLE
get_handle
(void) const
Get the I/O handle.
virtual int
handle_close
(ACE_HANDLE handle, ACE_Reactor_Mask close_mask)
Called when a
method returns -1 or when the
method is called on an
. The
indicates which event has triggered the
method callback on a particular
.
virtual int
handle_input
(ACE_HANDLE fd = ACE_INVALID_HANDLE)
Called when input events occur (e.g., connection or data).
virtual int
handle_timeout
(const ACE_Time_Value &tv, const void *arg)
called when timer goes off.
virtual void
set_handle
(ACE_HANDLE)
Set the I/O handle.
void
start_timer
()
Start timer waiting for ackback
virtual
~AckBackHandler
()
Protected:
int
_ackback_arrived
DrawLink
*
_drawlink
int
_eof_expected
ACE_HANDLE
_handle
int
_timer_started
long
_timerid
(more documentation)