AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ RemoteNetStart()

virtual bool drama::git::Path::RemoteNetStart ( const std::string &  node,
thread::TMessHandler action 
)
virtual

Start the DRAMA networking on a remote machine.

This method is invoked if, when trying to get a path to a task, the error code DITS__NO_NET_ON_REMOTE was returned, which indicates the DRAMA networking is not running on the machine in question. Some configurations want to handle this by automatically starting DRAMA on the specified (E.g. AAO's DramaUnixStart library). This method provides a way of doing this.

The default implementaiton does nothing, returning false, such that the original error will be thrown.

Parameters
nodeThe node we were trying to talk too.
actionA pointer to the threaded action which is executing this operation.
Returns
True if the caller should again try to talk to the specified node. If false is returned, then the original exeception will be thrown.