Changeset 9 for references/src


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

Release 1.1.0

Location:
references/src/main/java/geniusweb/connection
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • references/src/main/java/geniusweb/connection/Connectable.java

    r1 r9  
    22
    33/**
    4  * a socket for a general two-way connection
     4 * A Connectable is an object that can connect on request with a provided
     5 * {@link ConnectionEnd} and then respond to incoming and outgong signals.
    56 *
    6  * @param <INTYPE> the type of incoming messages
     7 * @param <INTYPE>  the type of incoming messages
    78 * @param <OUTTYPE> the type of outgoing messages
    89 */
     
    1314         * @param connection the new connection
    1415         */
    15         void connect(Connection<INTYPE, OUTTYPE> connection);
     16        void connect(ConnectionEnd<INTYPE, OUTTYPE> connection);
    1617
    1718        /**
  • references/src/main/java/geniusweb/connection/ConnectionFactory.java

    r1 r9  
    99 * factory that can turn a {@link Reference} into a connection to that
    1010 * reference.
     11 *
    1112 *
    1213 * @param <INTYPE>  the type of incoming messages. Incoming messages are
     
    3031         *                                 the server. This suggest to retry later.
    3132         */
    32         Connection<INTYPE, OUTTYPE> connect(Reference reference)
     33        ConnectionEnd<INTYPE, OUTTYPE> connect(Reference reference)
    3334                        throws IOException, NoResourcesNowException;
    3435
  • references/src/main/java/geniusweb/connection/DefaultConnection.java

    r1 r9  
    1414 */
    1515public abstract class DefaultConnection<INTYPE, OUTTYPE> extends
    16                 DefaultListenable<INTYPE> implements Connection<INTYPE, OUTTYPE> {
     16                DefaultListenable<INTYPE> implements ConnectionEnd<INTYPE, OUTTYPE> {
    1717}
Note: See TracChangeset for help on using the changeset viewer.