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