blob: cd6ea3ffaba81f38ce6cacae3ccd362d54c52f9a [file] [log] [blame] [raw]
package net.glowstone.msg;
public final class TransactionMessage extends Message {
private final int id, transaction;
private final boolean accepted;
public TransactionMessage(int id, int transaction, boolean accepted) {
this.id = id;
this.transaction = transaction;
this.accepted = accepted;
}
public int getId() {
return id;
}
public int getTransaction() {
return transaction;
}
public boolean isAccepted() {
return accepted;
}
}