public function add(NodeConnectionInterface $connection) { $this->pool[(string) $connection] = $connection; $this->slotmap->reset(); }