aboutsummaryrefslogtreecommitdiffstats
path: root/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/RpcServer.java
blob: 2a1d4160f15485ccedbde231419f10b832f31610 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.proxy;

import com.yahoo.vespa.config.RawConfig;
import com.yahoo.vespa.config.protocol.JRTServerConfigRequest;

/**
 * @author hmusum
 */
interface RpcServer {

    void returnOkResponse(JRTServerConfigRequest request, RawConfig config);

    void returnErrorResponse(JRTServerConfigRequest request, int errorCode, String message);
}