Property | Type | Description | |
---|---|---|---|
$router | Thruway\Peer\RouterInterface |
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 |
public static getSubscribedEvents ( ) |
public initModule ( Thruway\Peer\RouterInterface $router, React\EventLoop\LoopInterface $loop ) | ||
$router | Thruway\Peer\RouterInterface | |
$loop | React\EventLoop\LoopInterface |