DOFAuditListener InterfaceOpenDOF Object Access Library
Auditing interface.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public interface DOFAuditListener

The DOFAuditListener type exposes the following members.

Methods

  NameDescription
Public methodconnectionClosed
Connection closed audit event.
Public methodconnectionFailed
Connection failed audit event.
Public methodconnectionOpened
Connection opened audit event.
Public methodconnectionUpdate
Connection update audit event.
Public methodgetAuditPeriod
Returns the time period between audit updates in milliseconds.
Top
Remarks

Auditing interface. This interface encapsulates auditing, which involves:
  • Tracking of connections and disconnections as they occur.
  • Reporting of bandwidth usage. The update frequency is governed by the "audit period".
An application implements this interface in order to receive the respective information from the OAL. Add your listener implementation with either Builder.setAuditorListener(DOFAuditListener) or Builder.setAuditorListener(DOFAuditListener) . getAuditPeriod() and connectionOpened(State) each return a value that controls how the OAL interacts with the listener. The other methods are purely informational.
See Also

Reference