Package com.framed.communicator.io.raw
Class RawByteWriter
java.lang.Object
com.framed.core.Service
com.framed.communicator.io.Writer<byte[]>
com.framed.communicator.io.raw.RawByteWriter
-
Field Summary
Fields inherited from class com.framed.communicator.io.Writer
path, timeOnStart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleEventBus(Object msg, String deviceName) voidWrites the given data to the configured path.
-
Constructor Details
-
RawByteWriter
-
-
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<byte[]>- 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
-