Changeset 24 for profileconnection/src/main/java
- Timestamp:
- 10/06/20 13:12:20 (4 years ago)
- Location:
- profileconnection/src/main/java/geniusweb/profileconnection
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
profileconnection/src/main/java/geniusweb/profileconnection/ProfileConnectionFactory.java
r1 r24 17 17 18 18 /** 19 * @ uri the URI that can provide the {@link Profile}. Support both the ws20 * and the file scheme for the uri.19 * @param uri the URI that can provide the {@link Profile}. Support 20 * both the ws and the file scheme for the uri. 21 21 * @param reporter the {@link Reporter} to log issues to 22 * @return a {@link ProfileInterface} 23 * @throws IOException if connection can't be made 24 * @throws DeploymentException if endpoint can't be published 22 25 */ 23 26 public static ProfileInterface create(URI uri, Reporter reporter) -
profileconnection/src/main/java/geniusweb/profileconnection/ProfileInterface.java
r10 r24 14 14 * @return the latest version of the profile. May change at any time, after 15 15 * someone updates the version on the server. Call to this may block 16 * for limited time if the profile is not yet available. 17 * @throws IOException if profile can not be fetched */ 16 * for limited time if the profile is not yet available. 17 * @throws IOException if profile can not be fetched 18 */ 18 19 public Profile getProfile() throws IOException; 19 20 } -
profileconnection/src/main/java/geniusweb/profileconnection/WebsocketProfileConnector.java
r20 r24 37 37 * websockets. Typically ContainerProvider 38 38 * .getWebSocketContainer() 39 * @throws DeploymentException 40 * @throws IOException 39 * @throws DeploymentException if the annotated endpoint instance is not 40 * valid 41 * @throws IOException if there was a network or protocol problem 42 * that prevented the client endpoint being 43 * connected to its server. 44 * 41 45 */ 42 46 public WebsocketProfileConnector(URI uri, Reporter reporter,
Note:
See TracChangeset
for help on using the changeset viewer.