use of io.joynr.messaging.IMessagingMulticastSubscriber in project joynr by bmwcarit.
the class AbstractMessageRouter method performSubscriptionOperation.
private void performSubscriptionOperation(String multicastId, String providerParticipantId, SubscriptionOperation operation) {
Address providerAddress = routingTable.get(providerParticipantId);
IMessagingSkeleton messagingSkeleton = messagingSkeletonFactory.getSkeleton(providerAddress);
if (messagingSkeleton != null && messagingSkeleton instanceof IMessagingMulticastSubscriber) {
operation.perform((IMessagingMulticastSubscriber) messagingSkeleton);
} else {
logger.trace("No messaging skeleton found for address {}, not performing multicast subscription.", providerAddress);
}
}
Aggregations