restartIce method

void restartIce(
  1. IceParameters iceParameters
)

Restart ICE connection.

Implementation

void restartIce(IceParameters iceParameters) {
  _logger.debug('restartIce()');

  if (this._closed)
    throw ('closed');
  else if (iceParameters == null) throw ('missing iceParameters');

  // Enqueue command.
  _flexQueue.addTask(FlexTaskAdd(
    id: '',
    argument: iceParameters,
    execFun: _handler.restartIce,
    message: 'transport.restartIce()',
  ));
}