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

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


                            LOGGER.debug("Received route available. Message: {}", routeAvailableMessage);
                            Route route = new Route(routeAvailableMessage.getId(), Endpoint.this, routeAvailableMessage);
                            routes.add(route);
                            owner.addRoute(route);
                        } else if (message instanceof RouteUnavailableMessage) {
                            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) {
View Full Code Here

TOP

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

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.