... | ... | @@ -82,7 +82,7 @@ The agent has to be injected into the code of the service or things to monitor, |
|
|
|
|
|
|
|
|
```
|
|
|
// To To initialize the Agent object
|
|
|
// To initialize the Agent object
|
|
|
Agent agent = new Agent("NAME_OF_SERVICE_OR_THING_TO_MONITOR", "HOST_ADDRESS_OF_SERVICE_OR_THING_TO_MONITOR", PORT_NUMBER_OF_SERVICE_OR_THING_TO_MONITOR);
|
|
|
// To fire an event to the listener
|
|
|
String event = "event";
|
... | ... | |