Click or drag to resize
IEventManager Interface
Defines the interface for the Event Manager.

Namespace: OpenIIoT.SDK.Event
Assembly: OpenIIoT.SDK (in OpenIIoT.SDK.dll) Version: 0.5.0.39086
Syntax
public interface IEventManager : IManager, 
	IStateful, IEventProvider, IProvider

The IEventManager type exposes the following members.

Properties
  NameDescription
Public propertyAutomaticRestartPending
Gets a value indicating whether the stateful object is pending an automatic restart.
(Inherited from IManager.)
Public propertyEventProviderName
Gets the Event Provider name.
(Inherited from IEventProvider.)
Public propertyManagerName
Gets the name of the Manager.
(Inherited from IManager.)
Public propertyRegisteredEvents
Gets the Dictionary, keyed on Type, of registered Events.
Public propertyRegisteredProviders
Gets the Dictionary, keyed on Type, of registered Event Provider instances.
Public propertyState
Gets the current State of the stateful object.
(Inherited from IStateful.)
Top
Methods
  NameDescription
Public methodIsInState
Returns true if any of the specified State s match the current State.
(Inherited from IStateful.)
Public methodRegisterProvider
Registers the specified object with the Event Manager.
Public methodRegisterProviders
Registers each object within the supplied list which implements the IEventProvider interface.
Public methodRestart
Restarts the stateful object.
(Inherited from IStateful.)
Public methodStart
Starts the stateful object.
(Inherited from IStateful.)
Public methodStop
Stops the stateful object.
(Inherited from IStateful.)
Top
Events
  NameDescription
Public eventStateChanged
Occurs when the State property changes.
(Inherited from IStateful.)
Top
See Also