DOFAuditListenerconnectionOpened Method OpenDOF Object Access Library
Connection opened audit event.

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

C#
Object connectionOpened(
	DOFConnectionState connState
)

Parameters

connState
Type: org.opendof.core.oalDOFConnectionState
The state of the connection.

Return Value

Type: Object
A ticket that is used to identify subsequent audit requests for the connection. If null is returned, then auditing is not required for the connection and no subsequent calls will be made to methods of this class for this connection.
Exceptions

ExceptionCondition
ExceptionUnable to access the log.
Remarks

Connection opened audit event. Returns an audit ticket to use with subsequent requests for the connection. The ticket is passed into connectionClosed(object, State) and connectionUpdate(object, State) . The ticket value is used solely by the application. The type of the ticket is completely up to the application. However, if the listener returns null from this method, no subsequent notifications will be made for the specified connection.
See Also

Reference