net.sf.freecol.server.model
Class DiplomacySession
java.lang.Object
net.sf.freecol.server.model.TransactionSession
net.sf.freecol.server.model.DiplomacySession
public class DiplomacySession
- extends TransactionSession
A type of session to handle diplomacy.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final java.util.logging.Logger logger
agreement
private DiplomaticTrade agreement
- The agreement under consideration.
DiplomacySession
public DiplomacySession(Unit unit,
Settlement settlement)
complete
public void complete(ChangeSet cs)
- Description copied from class:
TransactionSession
- All transaction types must implement a completion action. The
last thing they should do is call this to remove reference to
this transaction.
- Overrides:
complete in class TransactionSession
- Parameters:
cs - A ChangeSet to update with changes that
occur when completing this session.
getAgreement
public DiplomaticTrade getAgreement()
setAgreement
public void setAgreement(DiplomaticTrade agreement)