Cisco Cisco Collaboration Server Dynamic Content Adapter
DCA 2.01 Administration and Configuration Guide
How to Implement Remote Monitoring 37
How to Implement Remote Monitoring
The Remote Monitor API uses the following Java class files, located at:
<DCArootdirectory>\webapp\WEB-INF\classes\com\cisco\ics\monitor
<DCArootdirectory>\webapp\WEB-INF\classes\com\cisco\ics\monitor
:
• IMonitorListener: Use this interface to implement remote monitoring of the
DCA.
• IMonitorHost: Use this interface to interact with the host.
• MonitoredEvent: Superclass of all monitored events
To Implement a Remote Listener
To implement a remote listener:
1. Create and compile your listener class, as desired referencing the Remote
Monitor API described in the next section.
A sample listener class file, SampleMonitorListener.java, is included with the
DCA at <DCArootdirectory>\webapp\WEB-
INF\classes\com\cisco\ics\monitor
DCA at <DCArootdirectory>\webapp\WEB-
INF\classes\com\cisco\ics\monitor
.
2. Place your files in the appropriate location on the DCA server --
<DCArootdirectory>\webapp\WEB-INF\classes
(for uncompiled class files) or
<DCArootdirectory>\webapp\WEB-INF\lib
(if you have compiled your class files
into a jar file).
3. Add your listener to the list of subscribed listeners in the
RemoteMonitor.properties
file.
com.cisco.ics.monitor
Interface IMonitorListener
public interface IMonitorListener
Interface implemented by listeners of monitored events.