Class JsonFilePublisher

All Implemented Interfaces:
MonitorPointSender

public class JsonFilePublisher extends BufferedFilePublisherBase
A publisher that dumps JSON messages in the passed writer.

This implementation allows to investigate the sending of monitor points to the core of the IAS by looking at the JSON file where they are all dumped.

The data written in the file are the JSON representation of each message i.e. a sequence of BufferedMonitoredSystemData. As such the file is not JSON specification compliant.

Author:
acaproni