Changeset 9 for references
- Timestamp:
- 11/28/19 14:40:48 (5 years ago)
- Location:
- references
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
references/pom.xml
r6 r9 6 6 <groupId>geniusweb</groupId> 7 7 <artifactId>references</artifactId> 8 <version>1. 0.0</version>8 <version>1.1.0</version> 9 9 <packaging>jar</packaging> 10 10 … … 16 16 <basedir>.</basedir> 17 17 <passwd>${env.ARTIFACTORY_PASS}</passwd> 18 <jackson-2-version>2.9. 6</jackson-2-version>18 <jackson-2-version>2.9.10</jackson-2-version> 19 19 </properties> 20 20 … … 31 31 <groupId>tudelft.utilities</groupId> 32 32 <artifactId>listener</artifactId> 33 <version>1. 0.0</version>33 <version>1.1.0</version> 34 34 </dependency> 35 35 -
references/src/main/java/geniusweb/connection/Connectable.java
r1 r9 2 2 3 3 /** 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. 5 6 * 6 * @param <INTYPE> the type of incoming messages7 * @param <INTYPE> the type of incoming messages 7 8 * @param <OUTTYPE> the type of outgoing messages 8 9 */ … … 13 14 * @param connection the new connection 14 15 */ 15 void connect(Connection <INTYPE, OUTTYPE> connection);16 void connect(ConnectionEnd<INTYPE, OUTTYPE> connection); 16 17 17 18 /** -
references/src/main/java/geniusweb/connection/ConnectionFactory.java
r1 r9 9 9 * factory that can turn a {@link Reference} into a connection to that 10 10 * reference. 11 * 11 12 * 12 13 * @param <INTYPE> the type of incoming messages. Incoming messages are … … 30 31 * the server. This suggest to retry later. 31 32 */ 32 Connection <INTYPE, OUTTYPE> connect(Reference reference)33 ConnectionEnd<INTYPE, OUTTYPE> connect(Reference reference) 33 34 throws IOException, NoResourcesNowException; 34 35 -
references/src/main/java/geniusweb/connection/DefaultConnection.java
r1 r9 14 14 */ 15 15 public abstract class DefaultConnection<INTYPE, OUTTYPE> extends 16 DefaultListenable<INTYPE> implements Connection <INTYPE, OUTTYPE> {16 DefaultListenable<INTYPE> implements ConnectionEnd<INTYPE, OUTTYPE> { 17 17 }
Note:
See TracChangeset
for help on using the changeset viewer.