blob: 6bf79f1269da35fcc30203f7e802b0ad65a77307 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.routing;
import com.yahoo.messagebus.routing.ApplicationSpec;
import com.yahoo.messagebus.routing.RoutingTableSpec;
/**
* This interface defines the necessary api for {@link Routing} to prepare and combine routing tables for all available
* protocols.
*
* @author Simon Thoresen Hult
*/
public interface Protocol {
/** Returns the specification for the routing table of this protocol. */
RoutingTableSpec getRoutingTableSpec();
/** Returns the specification of the application as seen by this protocol. */
ApplicationSpec getApplicationSpec();
}
|