PHP Class Thruway\PingRequest

Afficher le fichier Open project: voryx/thruway

Méthodes publiques

Méthode 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 méthode

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

getDeferred() public méthode

Get Deferred
public getDeferred ( ) : Deferred
Résultat React\Promise\Deferred

getLoop() public méthode

Get loop
public getLoop ( ) : React\EventLoop\LoopInterface
Résultat React\EventLoop\LoopInterface

getPingMsg() public méthode

Get ping message
public getPingMsg ( ) : Thruway\Message\PingMessage
Résultat Thruway\Message\PingMessage

getTimer() public méthode

Get timer
public getTimer ( ) : React\EventLoop\Timer\TimerInterface
Résultat React\EventLoop\Timer\TimerInterface

setLoop() public méthode

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

setPingMsg() public méthode

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

setTimer() public méthode

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