source: src/main/java/genius/core/actions/Action.java

Last change on this file was 127, checked in by Wouter Pasman, 6 years ago

#41 ROLL BACK of rev.126 . So this version is equal to rev. 125

File size: 502 bytes
Line 
1package genius.core.actions;
2
3import java.io.Serializable;
4
5import genius.core.AgentID;
6
7/**
8 * Interface for actions that are taken by an Agent and part of a negotiation.
9 * All actions must be immutable.
10 *
11 */
12public interface Action extends Serializable {
13 /**
14 * Returns the ID of the agent which created the action.
15 *
16 * @return ID of the agent. Only actions returned from the protocol like
17 * {@link Inform} can return the null ID.
18 */
19 AgentID getAgent();
20
21}
Note: See TracBrowser for help on using the repository browser.