DistributedServer::onManagerStop PHP Method

onManagerStop() public method

public onManagerStop ( $serv )
    public function onManagerStop($serv)
    {
        if (empty($this->client_pool)) {
            DistributedClient::getInstance()->removeuser($this->localip, 'Distributed');
            print_r($this->localip . " have closed\n");
        }
    }