TransportClient.setRetryPolicy(RetryPolicy retryPolicy) 方法

定义

Sets the given retry policy on the underlying transport Sets the given retry policy on the underlying transport See more details about the default retry policy and about using custom retry policies here

public void setRetryPolicy(RetryPolicy retryPolicy)

参数

retryPolicy
RetryPolicy

the new interval in milliseconds

例外

UnsupportedOperationException

if no device client has been registered yet.

适用于