AAO DRAMA C++ Interface (Old style)
DRAMA C++, Depreciated, don't use for new code

◆ PutDisconnectHandler()

virtual DisconHandler * DcppTask::PutDisconnectHandler ( DisconHandler p)
inlinevirtualinherited

Add a new disconnect handler for this task.

Create a new disconnect handler. This takes an object which implements the abstract class DcppTask::DisconHandler. The Disconnected(DcppTask *) method will be invoked when the task disconnects.

Returns
A pointer to the previous disconnect handler object, if any.
Parameters
pA pointer to the new disconnect handler obgject.