summaryrefslogtreecommitdiffstats
path: root/processing/src/main/java/com/yahoo/processing/execution/ResponseReceiver.java
blob: fbc6d0fb6d8492b1f58b4d406cfc0837797b59fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2016 Yahoo Inc. 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 <a href="mailto:bratseth@yahoo-inc.com">Jon Bratseth</a>
 */
public interface ResponseReceiver {

    public void setResponse(Response response);

}