NetworkConfig constructor

NetworkConfig(
  1. {@required String server_address,
  2. int network_retries_count,
  3. int message_retries_count,
  4. int message_processing_timeout,
  5. int wait_for_timeout,
  6. int out_of_sync_threshold,
  7. String access_key}
)

Implementation

NetworkConfig({
  @required String server_address,
  int network_retries_count,
  int message_retries_count,
  int message_processing_timeout,
  int wait_for_timeout,
  int out_of_sync_threshold,
  String access_key,
}) {
  _server_address = ArgumentError.checkNotNull(
      server_address, 'NetworkConfig server_address');
  _network_retries_count = network_retries_count;
  _message_retries_count = message_retries_count;
  _message_processing_timeout = message_processing_timeout;
  _wait_for_timeout = wait_for_timeout;
  _out_of_sync_threshold = out_of_sync_threshold;
  _access_key = access_key;
}