프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
__construct ( Phergie_Bot $bot, array $options = [] ) : void | Gets the required class refences from Phergie_Bot. | |
handleEvents ( ) : void | Obtains and processes incoming events. |
메소드 | 설명 | |
---|---|---|
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 |
리턴 | void |
abstract public handleEvents ( ) : void | ||
리턴 | void |
protected processEvents ( Phergie_Connection $connection ) : void | ||
$connection | Phergie_Connection | Active connection |
리턴 | void |
protected Phergie_Connection_Handler $connections | ||
리턴 | Phergie_Connection_Handler |
protected Phergie_Driver_Abstract $driver | ||
리턴 | Phergie_Driver_Abstract |
protected Phergie_Event_Handler $events | ||
리턴 | Phergie_Event_Handler |
protected array $options | ||
리턴 | array |
protected Phergie_Plugin_Handler $plugins | ||
리턴 | Phergie_Plugin_Handler |