🔀 Merge branch “release-80”
[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 @ImplementedBy(IdentityManagerImpl.class)
15 public interface IdentityManager extends Service {
16
17         boolean isConnected();
18         Set<OwnIdentity> getAllOwnIdentities();
19
20 }