public function run()
    {
        $this->logger->info('Initialization...');

        $this->initWebsocketServer();

        if ($this->sandstoneApplication->isPushEnabled()) {
            $this->initPushServer();
        }

        $this->sandstoneApplication->boot();

        $this->logger->info('Bind websocket server', $this->sandstoneApplication['sandstone.websocket.server']);

        if ($this->sandstoneApplication->isPushEnabled()) {
            $this->logger->info('Bind push server', $this->sandstoneApplication['sandstone.push.server']);
        }

        $this->loop->run();
    }
public function run()
    {
        $this->logger->info('Initialization...');

        $this->initWebsocketServer();

        if ($this->sandstoneApplication->isPushEnabled()) {
            $this->initPushServer();
        }

        $this->sandstoneApplication->boot();

        $this->logger->info('Bind websocket server', $this->sandstoneApplication['sandstone.websocket.server']);

        if ($this->sandstoneApplication->isPushEnabled()) {
            $this->logger->info('Bind push server', $this->sandstoneApplication['sandstone.push.server']);
        }

        $this->loop->run();
    }
public function run ( ) { $ this -> logger -> info ( 'Initialization...' ) ; $ this -> initWebsocketServer ( ) ; if ( $ this -> sandstoneApplication -> isPushEnabled ( ) ) { $ this -> initPushServer ( ) ; } $ this -> sandstoneApplication -> boot ( ) ; $ this -> logger -> info ( 'Bind websocket server' , $ this -> sandstoneApplication [ 'sandstone.websocket.server' ] ) ; if ( $ this -> sandstoneApplication -> isPushEnabled ( ) ) { $ this -> logger -> info ( 'Bind push server' , $ this -> sandstoneApplication [ 'sandstone.push.server' ] ) ; } $ this -> loop -> run ( ) ; }
Run websocket server.
Run websocket server .