PHP Class Thruway\Subscription\StateHandlerRegistration

Inheritance: use trait Thruway\Message\Traits\OptionsTrait, use trait Thruway\Message\Traits\OptionsMatchTypeTrait
Afficher le fichier Open project: voryx/thruway Class Usage Examples

Protected Properties

Свойство Type Description
$clientSession Thruway\ClientSession
$matcher Thruway\Subscription\MatcherInterface
$procedureName string
$uri string

Méthodes publiques

Méthode Description
__construct ( $clientSession, $procedureName, $uri, $options, Thruway\Subscription\MatcherInterface $matcher )
getClientSession ( ) : ClientSession
getMatcher ( ) : Thruway\Subscription\MatcherInterface
getProcedureName ( ) : string
getUri ( ) : string
handlesStateFor ( SubscriptionGroup $subscriptionGroup )
publishState ( Subscription $subscription ) : mixed Gets and published the topics state to this subscription
setClientSession ( ClientSession $clientSession )
setMatcher ( Thruway\Subscription\MatcherInterface $matcher )
setProcedureName ( string $procedureName )
setUri ( string $uri )

Method Details

__construct() public méthode

public __construct ( $clientSession, $procedureName, $uri, $options, Thruway\Subscription\MatcherInterface $matcher )
$matcher Thruway\Subscription\MatcherInterface

getClientSession() public méthode

public getClientSession ( ) : ClientSession
Résultat Thruway\ClientSession

getMatcher() public méthode

public getMatcher ( ) : Thruway\Subscription\MatcherInterface
Résultat Thruway\Subscription\MatcherInterface

getProcedureName() public méthode

public getProcedureName ( ) : string
Résultat string

getUri() public méthode

public getUri ( ) : string
Résultat string

handlesStateFor() public méthode

public handlesStateFor ( SubscriptionGroup $subscriptionGroup )
$subscriptionGroup SubscriptionGroup

publishState() public méthode

Gets and published the topics state to this subscription
public publishState ( Subscription $subscription ) : mixed
$subscription Subscription
Résultat mixed

setClientSession() public méthode

public setClientSession ( ClientSession $clientSession )
$clientSession Thruway\ClientSession

setMatcher() public méthode

public setMatcher ( Thruway\Subscription\MatcherInterface $matcher )
$matcher Thruway\Subscription\MatcherInterface

setProcedureName() public méthode

public setProcedureName ( string $procedureName )
$procedureName string

setUri() public méthode

public setUri ( string $uri )
$uri string

Property Details

$clientSession protected_oe property

protected ClientSession,Thruway $clientSession
Résultat Thruway\ClientSession

$matcher protected_oe property

protected MatcherInterface,Thruway\Subscription $matcher
Résultat Thruway\Subscription\MatcherInterface

$procedureName protected_oe property

protected string $procedureName
Résultat string

$uri protected_oe property

protected string $uri
Résultat string