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