Click or drag to resize
IConnectorActivityLog Interface
The interface for a singleton object that records activity across every connector created by the application.

Namespace: VirtualRadar.Interface.Network
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IConnectorActivityLog : ISingleton<IConnectorActivityLog>

The IConnectorActivityLog type exposes the following members.

Properties
  NameDescription
Public propertySingleton
Gets the single instance of the class that should be used throughout the application.
(Inherited from ISingletonT.)
Top
Methods
  NameDescription
Public methodGetActiveConnectors
Returns an array of every connector currently being tracked by the logger.
Public methodGetActivityHistory
Returns the last so-many activities recorded by the logger. The exact number is undefined, but it always contains the latest set of activities.
Public methodRecordConnectorCreated
Called by every connector to register itself with the logger.
Public methodRecordConnectorDestroyed
Called by every connector to deregister itself from the logger.
Top
Events
  NameDescription
Public eventActivityRecorded
Raised when any connector records some activity.
Top
See Also