On this page are some information about the agent summarized, to provide a short overview.
Framework
The agent uses the Pico Container to handle class instantiation. The container is following the principle of Dependency Injection and Inversion of Control.
Tasks
The agent has the following tasks:
- Reading and applying of the provided configuration files
- Gathering of invocation data
- Communication with the server.(Sensor registration etc.)
- Temporal Storage of invocation data, before its send to CMR
- Performing the sensor logic
- Hook Injection
Configuration
Each agent has a configuration that provides IP-address and port, via which he can communicate with the CMR and send data to.
Also the sensors that have to be used and the classes that have to be instrumented are configured in the configuration file.
Also a buffer strategy has to be set, so that the agent knows, what to do, when it's not possible to send the data at the moment.