src/net/java/otr4j/OtrKeyManagerStore.java
author Da Risk <da_risk@geekorum.com>
Fri, 06 Jan 2012 22:42:38 +0100
changeset 944 a217fc346c2f
parent 906 0ff0059f2ec3
permissions -rw-r--r--
Implements a ping listener from XEP-0199 XMPP ping. In the future, we can send an XMPP ping to the server to check for the state of the connection.

package net.java.otr4j;

public interface OtrKeyManagerStore {
	public abstract byte[] getPropertyBytes(String id);

	public abstract boolean getPropertyBoolean(String id, boolean defaultValue);

	public abstract void setProperty(String id, byte[] value);

	public abstract void setProperty(String id, boolean value);

	public abstract void removeProperty(String id);
}