C# Class Brunet.Messaging.ReqrepManager.TimeOutManager

Exibir arquivo Open project: pstjuste/brunet

Public Methods

Method Description
AddAckSampleFor ( RequestState reqs, ISender s, System.TimeSpan rtt ) : void
AddReplySampleFor ( RequestState reqs, ISender s, System.TimeSpan rtt ) : void
GetTimeOutFor ( ISender s ) : System.TimeSpan
IsTimeToCheck ( System.DateTime dt ) : bool
TimeOutManager ( ) : System

Private Methods

Method Description
GetStatsFor ( ISender s ) : TimeStats>.Pair

Method Details

AddAckSampleFor() public method

public AddAckSampleFor ( RequestState reqs, ISender s, System.TimeSpan rtt ) : void
reqs RequestState
s ISender
rtt System.TimeSpan
return void

AddReplySampleFor() public method

public AddReplySampleFor ( RequestState reqs, ISender s, System.TimeSpan rtt ) : void
reqs RequestState
s ISender
rtt System.TimeSpan
return void

GetTimeOutFor() public method

public GetTimeOutFor ( ISender s ) : System.TimeSpan
s ISender
return System.TimeSpan

IsTimeToCheck() public method

public IsTimeToCheck ( System.DateTime dt ) : bool
dt System.DateTime
return bool

TimeOutManager() public method

public TimeOutManager ( ) : System
return System