public function onFailure()
    {
        if ($this->onConnected) {
            $this->onConnected->executeAll($this);
            $this->onConnected = null;
        }
    }
public function onFailure()
    {
        if ($this->onConnected) {
            $this->onConnected->executeAll($this);
            $this->onConnected = null;
        }
    }
public function onFailure ( ) { if ( $ this -> onConnected ) { $ this -> onConnected -> executeAll ( $ this ) ; $ this -> onConnected = null ; } }
Called when the connection failed to be established
@return void
Called when the connection failed to be established