Line | |
---|
1 | package geniusweb.profileconnection;
|
---|
2 |
|
---|
3 | import java.io.IOException;
|
---|
4 |
|
---|
5 | import geniusweb.profile.Profile;
|
---|
6 | import tudelft.utilities.listener.Listenable;
|
---|
7 |
|
---|
8 | /**
|
---|
9 | * A container holding a modifyable profile. This interface allows testing.
|
---|
10 | */
|
---|
11 | public interface ProfileInterface extends Listenable<Profile> {
|
---|
12 |
|
---|
13 | /**
|
---|
14 | * @return the latest version of the profile. May change at any time, after
|
---|
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
|
---|
18 | */
|
---|
19 | public Profile getProfile() throws IOException;
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.