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