DOFgetRuntime Method OpenDOF Object Access Library
Gets this DOF's runtime, which contains data about the internal runtime state of the DOF.

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

C#
public DOFRuntime getRuntime()

Return Value

Type: DOFRuntime
A runtime monitor for this DOF.
Remarks

Gets this DOF's runtime, which contains data about the internal runtime state of the DOF. It provides information about current connections, servers, and traffic statistics.

After getting the Runtime , use its methods to retrieve specific information. For example, the following line of code would retrieve a collection of all connections created by myDof:

Collection<DOFConnection> myConnections = myDof.getRuntime() .getConnections();
See the methods of Runtime for information about all data that can be retrieved.

See Also

Reference