public function subscribe(AbstractSubscribeMessage $message) { $this->transport->send($message); $this->registered = true; }
public function publish(AbstractPublishMessage $message) { $this->transport->send($message); }