blob: 23baa17b8818c8ab3ad92bff10a99f1ba33fd8ac (
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 2016 Yahoo Inc. 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 <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a>
*/
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;
}
}
|