PHP Class Thruway\PingRequest

Mostrar archivo Open project: voryx/thruway

Public Methods

Method Description
__construct ( Thruway\Message\Message $pingMsg ) Constructor
getDeferred ( ) : Deferred Get Deferred
getLoop ( ) : React\EventLoop\LoopInterface Get loop
getPingMsg ( ) : Thruway\Message\PingMessage Get ping message
getTimer ( ) : React\EventLoop\Timer\TimerInterface Get timer
setLoop ( React\EventLoop\LoopInterface $loop ) Set loop
setPingMsg ( Thruway\Message\PingMessage $pingMsg ) Set ping message
setTimer ( React\EventLoop\Timer\TimerInterface $timer ) Set timer

Method Details

__construct() public method

Constructor
public __construct ( Thruway\Message\Message $pingMsg )
$pingMsg Thruway\Message\Message

getDeferred() public method

Get Deferred
public getDeferred ( ) : Deferred
return React\Promise\Deferred

getLoop() public method

Get loop
public getLoop ( ) : React\EventLoop\LoopInterface
return React\EventLoop\LoopInterface

getPingMsg() public method

Get ping message
public getPingMsg ( ) : Thruway\Message\PingMessage
return Thruway\Message\PingMessage

getTimer() public method

Get timer
public getTimer ( ) : React\EventLoop\Timer\TimerInterface
return React\EventLoop\Timer\TimerInterface

setLoop() public method

Set loop
public setLoop ( React\EventLoop\LoopInterface $loop )
$loop React\EventLoop\LoopInterface

setPingMsg() public method

Set ping message
public setPingMsg ( Thruway\Message\PingMessage $pingMsg )
$pingMsg Thruway\Message\PingMessage

setTimer() public method

Set timer
public setTimer ( React\EventLoop\Timer\TimerInterface $timer )
$timer React\EventLoop\Timer\TimerInterface