add method to get current IntermediateAgent from ToplevelAgent()

This commit is contained in:
coderkun 2014-08-09 00:33:58 +02:00
commit d746b62308

View file

@ -153,6 +153,17 @@
} }
/**
* Return the IntermediateAgent.
*
* @return IntermediateAgent IntermediateAgent
*/
public function getIntermediateAgent()
{
return $this->intermediateAgent;
}
/** /**
@ -265,6 +276,7 @@
/** /**
* Run the Controller of this Agent and its SubAgents. * Run the Controller of this Agent and its SubAgents.
* *
* @throws AccessDeniedException
* @throws IdNotFoundException * @throws IdNotFoundException
* @throws ServiceUnavailableException * @throws ServiceUnavailableException
* @throws DatamodelException * @throws DatamodelException
@ -292,6 +304,7 @@
/** /**
* Run IntermediateAgent. * Run IntermediateAgent.
* *
* @throws AccessDeniedException
* @throws ParamsNotValidException * @throws ParamsNotValidException
* @throws IdNotFoundException * @throws IdNotFoundException
* @throws ServiceUnavailableException * @throws ServiceUnavailableException