DOFObjectSessionOperationListenersessionOpen Method OpenDOF Object Access Library
Process a result.

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

C#
void sessionOpen(
	DOFOperationSession operation,
	DOFProviderInfo providerInfo,
	DOFObject session,
	DOFException exception
)

Parameters

operation
Type: org.opendof.core.oalDOFOperationSession
The session operation. This will never be null.
providerInfo
Type: org.opendof.core.oalDOFProviderInfo
Information about the provider of the result. May be null (in case of exception).
session
Type: org.opendof.core.oalDOFObject
The new session object. May be null, if the session failed -- in which case, exception should be non-null.

NOTE: Use Session.waitSession(int) to ensure that the session object is available. Use DOFSystem.waitProvider(DOFInterfaceID, int) to make sure there's a route to the provider.

NOTE: It is not necessary to call

destroy()
on this object. The library will destroy the object when the session operation completes or is cancelled.
exception
Type: org.opendof.core.oalDOFException
An exception received from the Provider, if any. If null, no exception occurred (the session was processed normally by the Provider).
Remarks

Process a result. This method is called when a the requested session is opened.
See Also

Reference