PHP Class Thruway\Transport\InternalClientTransportProvider

Inheritance: implements Thruway\Transport\TransportProviderInterface
显示文件 Open project: voryx/thruway

Public Methods

Method Description
__construct ( Thruway\Peer\ClientInterface $internalClient ) Constructor
getSubscribedEvents ( )
handleRouterStart ( Thruway\Event\RouterStartEvent $event )
handleRouterStop ( Thruway\Event\RouterStopEvent $event )

Method Details

__construct() public method

Constructor
public __construct ( Thruway\Peer\ClientInterface $internalClient )
$internalClient Thruway\Peer\ClientInterface

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

handleRouterStart() public method

public handleRouterStart ( Thruway\Event\RouterStartEvent $event )
$event Thruway\Event\RouterStartEvent

handleRouterStop() public method

public handleRouterStop ( Thruway\Event\RouterStopEvent $event )
$event Thruway\Event\RouterStopEvent