public class GroupMessageTopicListener extends java.lang.Object implements UDIDataReaderListener<ApplicationObject>
Constructor and Description |
---|
GroupMessageTopicListener(Gateway gateway)
Constructs the listener from the Gateway´s instance
|
Modifier and Type | Method and Description |
---|---|
void |
onNewData(ApplicationObject obj)
Receive new data from DDS
Permits the application/listener to use Java Generics and handle typed objects instead of Java Objects.
|
public GroupMessageTopicListener(Gateway gateway)
gateway
- Gateway´s instance responsible for receive datapublic void onNewData(ApplicationObject obj)
onNewData
in interface UDIDataReaderListener<ApplicationObject>
obj
- The data received