Click or drag to resize
IConnectionLogger Interface
The interface for objects that listen to a web server, track connections to it and periodically record details of those connections in a local database.

Namespace: VirtualRadar.Interface
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IConnectionLogger : ISingleton<IConnectionLogger>, 
	IBackgroundThreadExceptionCatcher, IDisposable

The IConnectionLogger type exposes the following members.

Properties
  NameDescription
Public propertyLogDatabase
Gets or sets the database object that will store information about connections.
Public propertySingleton
Gets the single instance of the class that should be used throughout the application.
(Inherited from ISingletonT.)
Public propertyWebServer
Gets or sets the web server that the logger will record connections to.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodStart
Tells the connection logger to begin listening to the web server and recording its connections in the log database.
Top
Events
  NameDescription
Public eventExceptionCaught
Raised when an exception is caught on the background thread. The background thread should not pass ThreadAbortException through this.
(Inherited from IBackgroundThreadExceptionCatcher.)
Top
See Also