Disconnect handler abstract type. More...
#include <dcpptask.h>
Public Member Functions | |
DisconHandler () | |
Constructor. More... | |
virtual void | Disconnected (DcppTask *)=0 |
Disconnect notification routine. More... | |
virtual | ~DisconHandler () |
Destructor. More... | |
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.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
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.
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tjf@aao.gov.au Generated on Mon Feb 22 2016 13:58:31 for AAO DRAMA C++ Interfaces by