aboutsummaryrefslogtreecommitdiffstats
path: root/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/RpcServer.java
blob: b326a79359e9f6df786b00e0f74671f3f45fa687 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Yahoo. 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);
}