The Runtime class enables access to runtime information about the associated DOF, including traffic statistics and information
about active connections and servers.
Inheritance Hierarchy
org.opendof.core.oalDOFRuntime
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public abstract class Runtime
The DOFRuntime type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | DOFRuntime | Initializes a new instance of the DOFRuntime class |
Methods
Name | Description | |
---|---|---|
![]() | addConnectionListener |
Adds a
ConnectionStateListener
that is notified when connections are established or go down.
|
![]() | addServerListener |
Adds a
ServerStateListener
that is notified when servers are started or stopped.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | getConnectionCount | Gets the total number of connections, both inbound and outbound, that are currently open.
|
![]() | getConnections | Gets a collection of all connections, both inbound and outbound, that are currently open.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | getProvideCount | Gets the total number of provides currently active. |
![]() | getProvidingConnections |
Gets a collection of connections (
DOFConnection
), both inbound and outbound, over which a provide operation has been received for a specified
DOFInterface
on a specified
DOFObject
. In addition to specifying exact bindings, you can do the following:
|
![]() | getServerCount | Gets the total number of servers that are currently started. |
![]() | getServers | Gets a collection of all servers that are currently started. |
![]() | getTrafficStats |
Returns a
TrafficStats
object from which you can get traffic-related statistics for all connections and servers.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | removeConnectionListener |
Removes a previously added
ConnectionStateListener
. When the listener is removed, this method causes
ConnectionStateListener.removed(Runtime, DOFException)
to be called.
|
![]() | removeServerListener |
Removes a previously added
ServerStateListener
. When the listener is removed, this method causes
ServerStateListener.removed(Runtime, DOFException)
to be called.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
See Also