NetworkConfig constructor
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}
)
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;
}