Connection Monitor Server API is a server-client API, that is, an active object based implementation encapsulating a client-server session interface. The API is defined in rconnmon.h and the library is connmon.lib.
A client application gets and sets attribute values from/to Connection
Monitor Server by using the methods provided by the RConnectionMonitor
class.
Figure 1: Connection Monitor Server API class diagram
Clients can access Connection Monitor Server by creating an object from
the RConnectionMonitor
class. This class is derived from RSessionBase
and
it provides methods for retrieving and setting attribute values from/to Connection
Monitor Server. In order to get notifications from Connection Monitor Server,
an application needs to implement the MConnectionMonitorObserver
class
and its pure virtual EventL
method. Connection Monitor Server
API calls this method when an event occurs. Different events are implemented
as classes and all of them have a common base class.