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 | |
---|
1 | package genius.core.actions;
|
---|
2 |
|
---|
3 | import java.io.Serializable;
|
---|
4 |
|
---|
5 | import 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 | */
|
---|
12 | public 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.