DRAMA C++ Intro   Class Hierarchy   Alphabetical List of types   List of Classes   File List   Class Member Index   File Members Index   Related Pages  

DcppTask::DisconHandler Class Reference

#include <dcpptask.h>

List of all members.


Detailed Description

Disconnect handler abstract type.

This class used for disconnect handlers and and object of this type must be specified to DcppTask::PutDisconnectHandler . Inheritors must implement "void Disconnect(DcppTask *)", which will be invoked when the task disconnects.


Public Methods

 DisconHandler ()
 Constructor.

virtual void Disconnected (DcppTask *)=0
 Disconnect notification routine.

virtual ~DisconHandler ()
 Destructor.


Constructor & Destructor Documentation

DcppTask::DisconHandler::DisconHandler   [inline]
 

Constructor.

virtual DcppTask::DisconHandler::~DisconHandler   [inline, virtual]
 

Destructor.


Member Function Documentation

virtual void DcppTask::DisconHandler::Disconnected DcppTask   [pure virtual]
 

Disconnect notification routine.

This abstract method must be implemented by inheritors. It will be invoked when the task disconnects (presuming the object has been specified to DcppTask::PutDisconnectHandler .

Note that the method will be invoked at UFACE context and you should NOT try to get the path again immediately. If you wish to do that, you should use DitsUfaceTimer() to set up a timed event or DitsSignal() or sending a message along the self path to the task itself and have the receiving function/action get the path again about 1 second later.


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

Click here for the DRAMA home page and here for the AAO home page.

For more information, contact tjf@aaoepp.aao.gov.au 

Generated on Tue Nov 3 09:09:56 2009 for AAO DRAMA C++ Interfaces by doxygen 1.2.18