Add Freenet plugin and WoT subprojects
[fwot.git] / wot / src / main / java / net / pterodactylus / freenet / wot / IdentityManager.java
1 package net.pterodactylus.freenet.wot;
2
3 import java.util.Set;
4
5 import com.google.common.eventbus.EventBus;
6 import com.google.common.util.concurrent.Service;
7 import com.google.inject.ImplementedBy;
8
9 /**
10  * Connects to a {@link WebOfTrustConnector} and sends identity events to an
11  * {@link EventBus}.
12  *
13  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
14  */
15 @ImplementedBy(IdentityManagerImpl.class)
16 public interface IdentityManager extends Service {
17
18         boolean isConnected();
19         Set<OwnIdentity> getAllOwnIdentities();
20
21 }