public class OtrContactManager
extends java.lang.Object
implements org.osgi.framework.ServiceListener
Modifier and Type | Class and Description |
---|---|
static class |
OtrContactManager.OtrContact
The OtrContact class is just a wrapper of
[Contact, ContactResource] pairs.
|
Constructor and Description |
---|
OtrContactManager() |
Modifier and Type | Method and Description |
---|---|
static OtrContactManager.OtrContact |
getOtrContact(Contact contact,
ContactResource resource)
Gets the OtrContact that represents this
[Contact, ContactResource] pair from the cache.
|
void |
serviceChanged(org.osgi.framework.ServiceEvent event)
Cleans up unused cached up Contacts.
|
public static OtrContactManager.OtrContact getOtrContact(Contact contact, ContactResource resource)
contact
- the Contact that the returned OtrContact
represents.resource
- the ContactResource that the returned OtrContact
represents.public void serviceChanged(org.osgi.framework.ServiceEvent event)
serviceChanged
in interface org.osgi.framework.ServiceListener
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.