@FunctionalInterface public interface BroadcastConsumer<T extends BroadcastMessage>
| Modifier and Type | Method and Description |
|---|---|
void |
onMessage(MessageHeader header,
T broadcast)
Invoked whenever a broadcast message is received.
|
void onMessage(MessageHeader header, T broadcast)
header - header information about the broadcastbroadcast - the broadcast message that was receivedCopyright © 2012–2015 Danish Maritime Authority. All rights reserved.