C# Class CSharpRTMP.Common.TimersManager

Show file Open project: langhuihui/csharprtmp Class Usage Examples

Public Methods

Method Description
AddTimer ( TimerEvent timerEvent ) : void
RemoveTimer ( uint eventTimerId ) : void
TimeElapsed ( System.TimeSpan currentTime ) : void
TimersManager ( Action timerEvent ) : System

Private Methods

Method Description
GCD ( List numbers, uint startIndex ) : uint
GCD ( uint a, uint b ) : uint
LCM ( List numbers, uint startIndex ) : uint
LCM ( uint a, uint b ) : uint
UpdatePeriods ( uint period ) : void

Method Details

AddTimer() public method

public AddTimer ( TimerEvent timerEvent ) : void
timerEvent TimerEvent
return void

RemoveTimer() public method

public RemoveTimer ( uint eventTimerId ) : void
eventTimerId uint
return void

TimeElapsed() public method

public TimeElapsed ( System.TimeSpan currentTime ) : void
currentTime System.TimeSpan
return void

TimersManager() public method

public TimersManager ( Action timerEvent ) : System
timerEvent Action
return System