All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vlingo.xoom.actors.BroadcastRouter Maven / Gradle / Ivy

// Copyright © 2012-2021 VLINGO LABS. All rights reserved.
//
// This Source Code Form is subject to the terms of the
// Mozilla Public License, v. 2.0. If a copy of the MPL
// was not distributed with this file, You can obtain
// one at https://mozilla.org/MPL/2.0/.
package io.vlingo.xoom.actors;

import java.util.function.BiFunction;

import io.vlingo.xoom.common.Completes;
import io.vlingo.xoom.common.PentaFunction;
import io.vlingo.xoom.common.QuadFunction;
import io.vlingo.xoom.common.TriFunction;

/**
 * BroadcastRouter
 */
public abstract class BroadcastRouter

extends Router

{ protected BroadcastRouter(final RouterSpecification

specification) { super(specification); } /* @see io.vlingo.xoom.actors.Router#computeRouting() */ @Override protected Routing

computeRouting() { return Routing.with(routees()); } /* @see io.vlingo.xoom.actors.Router#routeQuery(java.util.function.BiFunction, java.lang.Object) */ @Override protected > R dispatchQuery(BiFunction query, T1 routable1) { throw new UnsupportedOperationException("query protocols are not supported by this router by default"); } /* @see io.vlingo.xoom.actors.Router#routeQuery(io.vlingo.xoom.common.TriFunction, java.lang.Object, java.lang.Object) */ @Override protected > R dispatchQuery(TriFunction query, T1 routable1, T2 routable2) { throw new UnsupportedOperationException("query protocols are not supported by this router by default"); } /* @see io.vlingo.xoom.actors.Router#routeQuery(io.vlingo.xoom.common.QuadFunction, java.lang.Object, java.lang.Object, java.lang.Object) */ @Override protected > R dispatchQuery(QuadFunction query, T1 routable1, T2 routable2, T3 routable3) { throw new UnsupportedOperationException("query protocols are not supported by this router by default"); } /* @see io.vlingo.xoom.actors.Router#routeQuery(io.vlingo.xoom.common.PentaFunction, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) */ @Override protected > R dispatchQuery(PentaFunction query, T1 routable1, T2 routable2, T3 routable3, T4 routable4) { throw new UnsupportedOperationException("query protocols are not supported by this router by default"); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy