blob: 37da4d8569f2e616090256e564e5658e4ea8a973 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.messagebus.jdisc;
import com.yahoo.jdisc.Response;
import com.yahoo.messagebus.Reply;
/**
* @author Simon Thoresen Hult
*/
public class MbusResponse extends Response {
private final Reply reply;
public MbusResponse(int status, Reply reply) {
super(status);
if (reply == null) {
throw new NullPointerException();
}
this.reply = reply;
}
public Reply getReply() {
return reply;
}
}
|