class ZmqServerPushHandler extends AbstractServerPushHandler

Properties

protected PusherInterface $pusher
protected LoggerInterface $logger
protected WampRouter $router
protected MessageSerializer $serializer
protected Context $consumer
protected EventDispatcherInterface $eventDispatcher

Methods

setName(string $name)

No description

string
getName()

No description

array
getConfig()

No description

setConfig(array $config)

No description

__construct(PusherInterface $pusher, WampRouter $router, MessageSerializer $serializer, EventDispatcherInterface $eventDispatcher, LoggerInterface $logger = null)

No description

handle(LoopInterface $loop, WampServerInterface $app)

No description

mixed
close()

Close connection

Details

setName(string $name)

Parameters

string $name

string getName()

Return Value

string

array getConfig()

Return Value

array

setConfig(array $config)

Parameters

array $config

at line 50
__construct(PusherInterface $pusher, WampRouter $router, MessageSerializer $serializer, EventDispatcherInterface $eventDispatcher, LoggerInterface $logger = null)

Parameters

PusherInterface $pusher
WampRouter $router
MessageSerializer $serializer
EventDispatcherInterface $eventDispatcher
LoggerInterface $logger

at line 69
handle(LoopInterface $loop, WampServerInterface $app)

Parameters

LoopInterface $loop
WampServerInterface $app

at line 107
mixed close()

Close connection

Return Value

mixed