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