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

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


        public void dispatch(final Message message) {
            workQueue.dispatch(new Runnable() {
                public void run() {
                    try {
                        if (message instanceof RouteAvailableMessage) {
                            RouteAvailableMessage routeAvailableMessage = (RouteAvailableMessage) message;
                            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);
View Full Code Here

TOP

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

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.