IcingaApiCommandDispatcher Class Reference

Inherits IcingaApiCommand.

Collaboration diagram for IcingaApiCommandDispatcher:
[legend]

List of all members.

Public Member Functions

 clearCommands ()
 setInterface ($interface, array $config=array())
 setCommand ($command)
 send ()
 getCallStack ()

Detailed Description

Author:
Christian Doebler <christian doebler@netways.de>

Member Function Documentation

IcingaApiCommandDispatcher::clearCommands (  ) 

clears the command pool

Parameters:
void 
Returns:
void
Author:
Christian Doebler <christian.doebler@netways.de>
IcingaApiCommandDispatcher::getCallStack (  ) 

returns the call stack for further processing

Parameters:
void 
Returns:
array call stack of sent commands; if send() has not been called yet, return value will be boolean false
Author:
Christian Doebler <christian.doebler@netways.de>
IcingaApiCommandDispatcher::send (  ) 

sends command(s) by using the defined interface

Parameters:
void 
Returns:
boolean true on success otherwise false
Author:
Christian Doebler <christian.doebler@netways.de>
IcingaApiCommandDispatcher::setCommand ( command  ) 

sets the command(s) which should be sent

Parameters:
array $command icinga command(s)
Returns:
IcingaApiCommandDispatcher instance of IcingaApiCommandDispatcher object
Author:
Christian Doebler <christian.doebler@netways.de>

Reimplemented from IcingaApiCommand.

IcingaApiCommandDispatcher::setInterface ( interface,
array $  config = array() 
)

sets the interface to be used for sending commands

Parameters:
string $interface command interface
array $config interface config
Returns:
IcingaApiCommandDispatcher instance of IcingaApiCommandDispatcher object
Author:
Christian Doebler <christian.doebler@netways.de>

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

Generated on Thu Jan 14 15:06:46 2010 for ICINGA-API by  doxygen 1.6.1