use of org.apache.qpid.server.protocol.v1_0.type.ErrorCondition in project qpid-broker-j by apache.
the class Session_1_0 method close.
public void close(ErrorCondition condition, String message) {
performCloseTasks();
final End end = new End();
final Error theError = new Error();
theError.setDescription(message);
theError.setCondition(condition);
end.setError(theError);
end(end);
}
Aggregations