package net.lightstone.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; | |
} | |
} |