Changeset 9 for party/src/main/java/geniusweb
- Timestamp:
- 11/28/19 14:40:48 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
party/src/main/java/geniusweb/party/DefaultParty.java
r1 r9 2 2 3 3 import geniusweb.actions.Action; 4 import geniusweb.connection.Connection ;4 import geniusweb.connection.ConnectionEnd; 5 5 import geniusweb.party.inform.Inform; 6 6 import tudelft.utilities.listener.Listener; … … 13 13 */ 14 14 public abstract class DefaultParty implements Party, Listener<Inform> { 15 private Connection <Inform, Action> connection = null;15 private ConnectionEnd<Inform, Action> connection = null; 16 16 protected Reporter reporter; 17 17 … … 25 25 26 26 @Override 27 public void connect(Connection <Inform, Action> connection) {27 public void connect(ConnectionEnd<Inform, Action> connection) { 28 28 this.connection = connection; 29 29 connection.addListener(this); … … 47 47 * connected. 48 48 */ 49 public Connection <Inform, Action> getConnection() {49 public ConnectionEnd<Inform, Action> getConnection() { 50 50 return connection; 51 51 }
Note:
See TracChangeset
for help on using the changeset viewer.