public function setReconnectDelay($milliseconds = null)
    {
        if (is_integer($milliseconds)) {
            $this->_reconnectdelay = $milliseconds;
        } else {
            $this->_reconnectdelay = self::DEF_RECONNECT_DELAY;
        }
        return $this->_reconnectdelay;
    }
public function setReconnectDelay($milliseconds = null)
    {
        if (is_integer($milliseconds)) {
            $this->_reconnectdelay = $milliseconds;
        } else {
            $this->_reconnectdelay = self::DEF_RECONNECT_DELAY;
        }
        return $this->_reconnectdelay;
    }
public function setReconnectDelay ( $ milliseconds = null ) { if ( is_integer ( $ milliseconds ) ) { $ this -> _reconnectdelay = $ milliseconds ; } else { $ this -> _reconnectdelay = self :: DEF_RECONNECT_DELAY ; } return $ this -> _reconnectdelay ; }
Sets the delaytime before attempting reconnect.
Value of 0 disables the delay entirely.

@api
@param integer|null $milliseconds
@return integer
Sets the delaytime before attempting reconnect . Value of 0 disables the delay entirely .