com.yahoo.messagebus.jdisc.MbusResponse Maven / Gradle / Ivy
The newest version!
// Copyright Vespa.ai. 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;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy