public final class BoBManager extends 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(XMPPConnection connection)
Get the singleton instance of BoBManager.
|
boolean |
isSupportedByServer()
Returns true if Bits of Binary is supported by the server.
|
BoBInfo |
removeBoB(BoBHash bobHash) |
BoBData |
requestBoB(org.jxmpp.jid.Jid to,
BoBHash bobHash)
Request BoB data.
|
connection, getAuthenticatedConnectionOrThrow, schedulepublic static final java.lang.String NAMESPACE
public static BoBManager getInstanceFor(XMPPConnection connection)
connection - public boolean isSupportedByServer() throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, java.lang.InterruptedException
SmackException.NoResponseExceptionXMPPException.XMPPErrorExceptionSmackException.NotConnectedExceptionjava.lang.InterruptedExceptionpublic BoBData requestBoB(org.jxmpp.jid.Jid to, BoBHash bobHash) throws SmackException.NotLoggedInException, SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, java.lang.InterruptedException
to - bobHash - SmackException.NotLoggedInExceptionSmackException.NoResponseExceptionXMPPException.XMPPErrorExceptionSmackException.NotConnectedExceptionjava.lang.InterruptedException