public interface EnOceanMessageDescription
Modifier and Type | Method and Description |
---|---|
EnOceanChannel[] |
deserialize(byte[] bytes)
Deserializes an array of bytes into the EnOceanChannels available to the
payload, if possible.
|
String |
getMessageDescription() |
byte[] |
serialize(EnOceanChannel[] channels)
Serializes a series of
EnOceanChannel objects into the
corresponding byte[] sequence. |
byte[] serialize(EnOceanChannel[] channels)
EnOceanChannel
objects into the
corresponding byte[] sequence.channels
- to be serialized.IllegalArgumentException
- if the given channels is null.EnOceanChannel[] deserialize(byte[] bytes)
bytes
- to be deserialized.IllegalArgumentException
- if the actual instance type of the
message is not compatible with the bytes it is fed with (RORG to
begin with).String getMessageDescription()
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0