TopicDispatcher
class TopicDispatcher implements TopicDispatcherInterface
Class TopicDispatcher
Constants
| SUBSCRIPTION |
|
| UNSUBSCRIPTION |
|
| PUBLISH |
|
| PUSH |
|
Properties
| protected TopicRegistry | $topicRegistry | ||
| protected WampRouter | $router | ||
| protected TopicPeriodicTimer | $topicPeriodicTimer | ||
| protected LoggerInterface|null | $logger | ||
| protected TopicManager | $topicManager |
Methods
__construct(TopicRegistry $topicRegistry, WampRouter $router, TopicPeriodicTimer $topicPeriodicTimer, TopicManager $topicManager, LoggerInterface $logger = null)
No description
onPublish(ConnectionInterface $conn, Topic $topic, WampRequest $request, string $event, array $exclude, array $eligible)
No description
bool
dispatch(string $calledMethod, ConnectionInterface $conn = null, Topic $topic, WampRequest $request, null $payload = null, null $exclude = null, null $eligible = null, null $provider = null)
No description