Package org.gradle.messaging.remote.internal.protocol

Examples of org.gradle.messaging.remote.internal.protocol.RoutableMessage


                            RouteUnavailableMessage routeUnavailableMessage = (RouteUnavailableMessage) message;
                            LOGGER.debug("Received route unavailable. Message: {}", routeUnavailableMessage);
                            Route route = owner.removeRoute(routeUnavailableMessage.getId());
                            routes.remove(route);
                        } else if (message instanceof RoutableMessage) {
                            RoutableMessage routableMessage = (RoutableMessage) message;
                            peerGroup.send(routableMessage.getDestination(), message);
                        } else if (message instanceof EndOfStreamEvent) {
                            for (Route route : routes) {
                                LOGGER.debug("Removing route {} due to end of stream.", route.id);
                                owner.removeRoute(route.id);
                            }
View Full Code Here

TOP

Related Classes of org.gradle.messaging.remote.internal.protocol.RoutableMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.