public final class BoBManager
extends org.jivesoftware.smack.Manager
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAMESPACE |
| Modifier and Type | Method and Description |
|---|---|
BoBInfo |
addBoB(BoBData bobData) |
static BoBManager |
getInstanceFor(org.jivesoftware.smack.XMPPConnection connection)
Get the singleton instance of BoBManager.
|
boolean |
isSupportedByServer()
Returns true if Bits of Binary is supported by the server.
|
BoBInfo |
removeBoB(ContentId bobHash) |
BoBData |
requestBoB(org.jxmpp.jid.Jid to,
ContentId bobHash)
Request BoB data.
|
public static final java.lang.String NAMESPACE
public static BoBManager getInstanceFor(org.jivesoftware.smack.XMPPConnection connection)
connection - TODO javadoc me pleasepublic boolean isSupportedByServer()
throws org.jivesoftware.smack.SmackException.NoResponseException,
org.jivesoftware.smack.XMPPException.XMPPErrorException,
org.jivesoftware.smack.SmackException.NotConnectedException,
java.lang.InterruptedException
org.jivesoftware.smack.SmackException.NoResponseException - if there was no response from the remote entity.org.jivesoftware.smack.XMPPException.XMPPErrorException - if there was an XMPP error returned.org.jivesoftware.smack.SmackException.NotConnectedException - if the XMPP connection is not connected.java.lang.InterruptedException - if the calling thread was interrupted.public BoBData requestBoB(org.jxmpp.jid.Jid to, ContentId bobHash) throws org.jivesoftware.smack.SmackException.NotLoggedInException, org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
to - TODO javadoc me pleasebobHash - TODO javadoc me pleaseorg.jivesoftware.smack.SmackException.NotLoggedInException - if the XMPP connection is not authenticated.org.jivesoftware.smack.SmackException.NoResponseException - if there was no response from the remote entity.org.jivesoftware.smack.XMPPException.XMPPErrorException - if there was an XMPP error returned.org.jivesoftware.smack.SmackException.NotConnectedException - if the XMPP connection is not connected.java.lang.InterruptedException - if the calling thread was interrupted.