PHP Class Thruway\Module\RouterModuleClient

Inheritance: extends Thruway\Peer\Client, implements Thruway\Module\RouterModuleInterface
Show file Open project: voryx/thruway Class Usage Examples

Protected Properties

Property Type Description
$router Thruway\Peer\RouterInterface

Public Methods

Method Description
getSubscribedEvents ( ) If people don't want to implement this
initModule ( Thruway\Peer\RouterInterface $router, React\EventLoop\LoopInterface $loop ) Called by the router when it is added

Method Details

getSubscribedEvents() public static method

If people don't want to implement this
public static getSubscribedEvents ( )

initModule() public method

Called by the router when it is added
public initModule ( Thruway\Peer\RouterInterface $router, React\EventLoop\LoopInterface $loop )
$router Thruway\Peer\RouterInterface
$loop React\EventLoop\LoopInterface

Property Details

$router protected property

protected RouterInterface,Thruway\Peer $router
return Thruway\Peer\RouterInterface