Class EventTimer
Provides default implementation for IEventTimer
Inheritance
System.Object
EventTimer
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Time
Assembly: Azos.dll
Syntax
public sealed class EventTimer : DaemonWithInstrumentation<IApplicationComponent>, IDaemon, IDaemonView, INamed, ILocalizedTimeProvider, IEventTimerImplementation, IEventTimer, IApplicationComponent, IInstrumentable, IExternallyParameterized, IDisposable, IConfigurable
Constructors
EventTimer(IApplicationComponent)
Declaration
public EventTimer(IApplicationComponent director)
Parameters
Type | Name | Description |
---|---|---|
IApplicationComponent | director |
EventTimer(IApplication)
Declaration
public EventTimer(IApplication app)
Parameters
Type | Name | Description |
---|---|---|
IApplication | app |
Fields
DEFAULT_RESOLUTION_MS
Declaration
public const int DEFAULT_RESOLUTION_MS = 500
Field Value
Type | Description |
---|---|
System.Int32 |
MAX_RESOLUTION_MS
Declaration
public const int MAX_RESOLUTION_MS = 5000
Field Value
Type | Description |
---|---|
System.Int32 |
MIN_RESOLUTION_MS
Declaration
public const int MIN_RESOLUTION_MS = 100
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
ComponentLogTopic
Declaration
public override string ComponentLogTopic { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Events
Lists all events in the instance
Declaration
public IRegistry<Event> Events { get; }
Property Value
Type | Description |
---|---|
IRegistry<Event> |
InstrumentationEnabled
Declaration
[Config]
[ExternalParameter(new string[]{"time", "instrumentation"})]
public override bool InstrumentationEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Azos.Apps.DaemonWithInstrumentation<Azos.Apps.IApplicationComponent>.InstrumentationEnabled
ResolutionMs
Timer resolution in milliseconds
Declaration
[Config]
[ExternalParameter(new string[]{"time"})]
public int ResolutionMs { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
DoConfigure(IConfigSectionNode)
Declaration
protected override void DoConfigure(IConfigSectionNode node)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | node |
Overrides
DoSignalStop()
Declaration
protected override void DoSignalStop()
Overrides
DoStart()
Declaration
protected override void DoStart()
Overrides
DoWaitForCompleteStop()
Declaration
protected override void DoWaitForCompleteStop()
Overrides
Explicit Interface Implementations
IEventTimerImplementation.__InternalRegisterEvent(Event)
Declaration
void IEventTimerImplementation.__InternalRegisterEvent(Event evt)
Parameters
Type | Name | Description |
---|---|---|
Event | evt |
IEventTimerImplementation.__InternalUnRegisterEvent(Event)
Declaration
void IEventTimerImplementation.__InternalUnRegisterEvent(Event evt)
Parameters
Type | Name | Description |
---|---|---|
Event | evt |
Implements
System.IDisposable