/** * Handle close transport * * @param \Thruway\Transport\TransportInterface $transport */ public function onClose(TransportInterface $transport) { Logger::debug($this, "onClose from " . json_encode($transport->getTransportDetails())); /* @var $session \Thruway\Session */ $session = $this->sessions[$transport]; $session->onClose(); $this->sessions->detach($transport); }
/** * Handle close transport * * @param \Thruway\Transport\TransportInterface $transport */ public function onClose(TransportInterface $transport) { Logger::debug($this, "onClose from " . json_encode($transport->getTransportDetails())); $this->sessions->detach($transport); }
public function onClose(TransportInterface $transport) { $this->manager->debug("onClose from " . json_encode($transport->getTransportDetails())); /** @var $session Session */ $session = $this->sessions[$transport]; $session->onClose(); $this->sessions->detach($transport); }