aboutsummaryrefslogtreecommitdiffstats
path: root/processing/src/main/java/com/yahoo/processing/execution/ResponseReceiver.java
blob: 053459166e65e43769ad30ec8c820f4db0438db2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.processing.execution;

import com.yahoo.processing.Response;

/**
 * An interface for classes which can be given responses.
 * Freeze listeners may implement this to be handed the response
 * before they are run. There is probably no other sensible use for this.
 *
 * @author bratseth
 */
public interface ResponseReceiver {

    public void setResponse(Response response);

}