Table of Contents

Class Timeout

Namespace
Coherence.Transport
Assembly
Coherence.Transport.dll
public class Timeout
Inheritance
Timeout

Constructors

Timeout(IDateTimeProvider, Action<ConnectionTimeoutException>)

public Timeout(IDateTimeProvider dateTimeProvider, Action<ConnectionTimeoutException> onTimeout)

Parameters

dateTimeProvider IDateTimeProvider
onTimeout Action<ConnectionTimeoutException>

Methods

Check(bool)

public void Check(bool reset)

Parameters

reset bool

SetTimeout(in TimeSpan)

public void SetTimeout(in TimeSpan newTimeout)

Parameters

newTimeout TimeSpan