use of org.yamcs.studio.core.YamcsPlugin in project yamcs-studio by yamcs.
the class YamcsClient method onMessage.
@Override
public void onMessage(WebSocketSubscriptionData data) {
// Stop processing messages on shutdown
YamcsPlugin plugin = YamcsPlugin.getDefault();
if (plugin == null) {
return;
}
subscribers.forEach(s -> s.onMessage(data));
}
Aggregations