Property | Type | Description | |
---|---|---|---|
$connections | Phergie_Connection_Handler | Current connection handler instance | |
$driver | Phergie_Driver_Abstract | Current driver instance | |
$events | Phergie_Event_Handler | Current event handler instance | |
$options | array | List of arguments for use within the instance | |
$plugins | Phergie_Plugin_Handler | Current plugin handler instance | |
$ui | Phergie_Ui_Abstract | Current end-user interface instance |
Method | Description | |
---|---|---|
__construct ( Phergie_Bot $bot, array $options = [] ) : void | Gets the required class refences from Phergie_Bot. | |
handleEvents ( ) : void | Obtains and processes incoming events. |
Method | Description | |
---|---|---|
processEvents ( Phergie_Connection $connection ) : void | Sends resulting outgoing events from earlier processing in handleEvents(). |
public __construct ( Phergie_Bot $bot, array $options = [] ) : void | ||
$bot | Phergie_Bot | Current bot instance in use |
$options | array | Optional processor arguments |
return | void |
abstract public handleEvents ( ) : void | ||
return | void |
protected processEvents ( Phergie_Connection $connection ) : void | ||
$connection | Phergie_Connection | Active connection |
return | void |
protected Phergie_Connection_Handler $connections | ||
return | Phergie_Connection_Handler |
protected Phergie_Driver_Abstract $driver | ||
return | Phergie_Driver_Abstract |
protected Phergie_Event_Handler $events | ||
return | Phergie_Event_Handler |
protected array $options | ||
return | array |
protected Phergie_Plugin_Handler $plugins | ||
return | Phergie_Plugin_Handler |