public function onFinish()
    {
        $this->sendFrame('', 'CONNCLOSE');

        if ($this->route) {
            $this->route->onFinish();
        }
        $this->route = null;
    }
public function onFinish()
    {
        $this->sendFrame('', 'CONNCLOSE');

        if ($this->route) {
            $this->route->onFinish();
        }
        $this->route = null;
    }
public function onFinish ( ) { $ this -> sendFrame ( '' , 'CONNCLOSE' ) ; if ( $ this -> route ) { $ this -> route -> onFinish ( ) ; } $ this -> route = null ; }
Event of Connection.
@return void
Event of Connection .