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

Examples of org.gradle.messaging.remote.internal.hub.protocol.Routable


    public void queue(InterHubMessage message) {
        if (message.getDelivery() == Stateful) {
            initializer.onStatefulMessage(message);
        }
        if (message instanceof Routable) {
            Routable routableMessage = (Routable) message;
            getChannel(routableMessage.getChannel()).dispatch(message);
        } else if (message.getDelivery() == Stateful || message.getDelivery() == InterHubMessage.Delivery.AllHandlers) {
            for (MultiEndPointQueue queue : channels.values()) {
                queue.dispatch(message);
            }
        } else {
View Full Code Here

TOP

Related Classes of org.gradle.messaging.remote.internal.hub.protocol.Routable

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.