Class MedibusParsedWriter
java.lang.Object
com.framed.core.Service
com.framed.communicator.io.Writer<org.json.JSONObject>
com.framed.communicator.io.parsed.MedibusParsedWriter
-
Field Summary
Fields inherited from class com.framed.communicator.io.Writer
path, timeOnStart -
Constructor Summary
ConstructorsConstructorDescriptionMedibusParsedWriter(String path, EventBus eventBus, org.json.JSONArray devices) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleEventBus(Object msg, String deviceName) voidWrites the given data to the configured path.
-
Constructor Details
-
MedibusParsedWriter
-
-
Method Details
-
write
Description copied from class:WriterWrites the given data to the configured path. Concrete implementations must define how the data is serialized and stored.- Specified by:
writein classWriter<org.json.JSONObject>- Parameters:
data- the data to writedeviceName- the name of the device associated with the data- Throws:
IOException- if an I/O error occurs during writing
-
handleEventBus
-