Interface NetworkAdapter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataWrapper
getDataWrapper()
Returns DataWrapper that is used by Devicevoid
send(List<Data> data)
Sends data which are wrapped by DataWrappers, there fore in String format.void
setDataWrapper(DataWrapper dataWrapper)
Sets DataWrapper for Device, which allows to transform generated data and important information about its origin to common data structures e.g.
-
-
-
Method Detail
-
send
void send(List<Data> data)
Sends data which are wrapped by DataWrappers, there fore in String format.- Parameters:
data
- data to be send
-
getDataWrapper
DataWrapper getDataWrapper()
Returns DataWrapper that is used by Device- Returns:
- instance of DataWrapper
-
setDataWrapper
void setDataWrapper(DataWrapper dataWrapper)
Sets DataWrapper for Device, which allows to transform generated data and important information about its origin to common data structures e.g. JSON, XML, for better manipulation.- Parameters:
dataWrapper
- instance of DataWrapper
-
-