OpenDOF Project
Typedefs | Functions
DOFRuntime
Distributed Object Framework (DOF)

The Runtime class enables access to runtime information about the associated DOF, including traffic statistics and information about active connections and servers. More...

Typedefs

typedef struct DOFRuntime_t * DOFRuntime
 The Runtime information and statistics for a DOF.
 

Functions

boolean DOFRuntime_AddConnectionListener (DOFRuntime self, DOFRuntimeConnectionStateListener listener)
 Adds a DOFRuntimeConnectionStateListener that is notified when connections are established or go down.
 
void DOFRuntime_RemoveConnectionListener (DOFRuntime self, DOFRuntimeConnectionStateListener listener)
 Removes a previously added DOFRuntimeConnectionStateListener.
 
boolean DOFRuntime_AddServerListener (DOFRuntime self, DOFRuntimeServerStateListener listener)
 Adds a DOFRuntimeServerStateListener that is notified when servers are started or stopped.
 
void DOFRuntime_RemoveServerListener (DOFRuntime self, DOFRuntimeServerStateListener listener)
 Removes a previously added DOFRuntimeServerStateListener.
 
DOFConnectionList DOFRuntime_CreateProvidingConnectionList (const DOFRuntime self, const DOFObjectID objectID, const DOFInterfaceID interfaceID)
 Create a list of connections (DOFConnection), both inbound and outbound, over which a provide operation has been sent or received for a specified DOFInterface on a specified DOFObject.
 
DOFConnectionList DOFRuntime_CreateConnectionList (const DOFRuntime self)
 Create a list of all connections, both inbound and outbound, that are currently open.
 
DOFServerList DOFRuntime_CreateServerList (const DOFRuntime self)
 Create a list of all servers that are currently started.
 
uint16 DOFRuntime_GetConnectionCount (const DOFRuntime self)
 Gets the total number of connections, both inbound and outbound, that are currently open.
 
uint16 DOFRuntime_GetServerCount (const DOFRuntime self)
 Gets the total number of servers that are currently started.
 
uint32 DOFRuntime_GetProvideCount (const DOFRuntime self)
 Gets the total number of provides currently active.
 
uint64 DOFRuntime_GetReceiveByteCount (const DOFRuntime self)
 Gets a count of the number of data bytes received on all connections and servers.
 
uint64 DOFRuntime_GetSendByteCount (const DOFRuntime self)
 Gets a count of the number of data bytes sent over all connections and servers.
 
uint64 DOFRuntime_GetReceivePacketCount (const DOFRuntime self)
 Gets a count of the packets received on all connections and servers.
 
uint64 DOFRuntime_GetSendPacketCount (const DOFRuntime self)
 Gets a count of the packets sent over all connections and servers.
 

Detailed Description

The Runtime class enables access to runtime information about the associated DOF, including traffic statistics and information about active connections and servers.

See Also
DOF_GetRuntime
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22