Changeset 9 for party/src


Ignore:
Timestamp:
11/28/19 14:40:48 (5 years ago)
Author:
bart
Message:

Release 1.1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • party/src/main/java/geniusweb/party/DefaultParty.java

    r1 r9  
    22
    33import geniusweb.actions.Action;
    4 import geniusweb.connection.Connection;
     4import geniusweb.connection.ConnectionEnd;
    55import geniusweb.party.inform.Inform;
    66import tudelft.utilities.listener.Listener;
     
    1313 */
    1414public abstract class DefaultParty implements Party, Listener<Inform> {
    15         private Connection<Inform, Action> connection = null;
     15        private ConnectionEnd<Inform, Action> connection = null;
    1616        protected Reporter reporter;
    1717
     
    2525
    2626        @Override
    27         public void connect(Connection<Inform, Action> connection) {
     27        public void connect(ConnectionEnd<Inform, Action> connection) {
    2828                this.connection = connection;
    2929                connection.addListener(this);
     
    4747         *         connected.
    4848         */
    49         public Connection<Inform, Action> getConnection() {
     49        public ConnectionEnd<Inform, Action> getConnection() {
    5050                return connection;
    5151        }
Note: See TracChangeset for help on using the changeset viewer.