Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smack.roster |
TODO describe me.
|
org.jivesoftware.smackx.bob |
Classes and interfaces of Bits of Binary.
|
org.jivesoftware.smackx.bytestreams.ibb |
Smack's API for XEP-47: In-Band Bytestreams.
|
org.jivesoftware.smackx.mam |
XEP-0313: Message Archive Management.
|
org.jivesoftware.smackx.omemo |
Classes and interfaces for OMEMO Encryption.
|
Modifier and Type | Method and Description |
---|---|
protected XMPPConnection |
Manager.getAuthenticatedConnectionOrThrow()
Get the XMPPConnection of this Manager if it's authenticated, i.e.
|
void |
StanzaListener.processStanza(Stanza packet)
Process the next stanza(/packet) sent to this stanza(/packet) listener.
|
Modifier and Type | Method and Description |
---|---|
static void |
RosterUtil.askForSubscriptionIfRequired(Roster roster,
BareJid jid) |
void |
Roster.createEntry(BareJid user,
java.lang.String name,
java.lang.String[] groups)
Creates a new roster entry and presence subscription.
|
static void |
RosterUtil.ensureSubscribed(XMPPConnection connectionOne,
XMPPConnection connectionTwo,
long timeout) |
static void |
RosterUtil.ensureSubscribedTo(XMPPConnection connectionOne,
XMPPConnection connectionTwo,
java.util.Date deadline) |
static void |
RosterUtil.ensureSubscribedTo(XMPPConnection connectionOne,
XMPPConnection connectionTwo,
long timeout) |
boolean |
Roster.isSubscriptionPreApprovalSupported()
Check for subscription pre-approval support.
|
void |
Roster.preApprove(BareJid user)
Pre-approve user presence subscription.
|
void |
Roster.preApproveAndCreateEntry(BareJid user,
java.lang.String name,
java.lang.String[] groups)
Creates a new pre-approved roster entry and presence subscription.
|
static void |
RosterUtil.preApproveSubscriptionIfRequiredAndPossible(Roster roster,
BareJid jid)
Pre-approve the subscription if it is required and possible.
|
void |
Roster.reload()
Reloads the entire roster from the server.
|
void |
Roster.reloadAndWait()
Reload the roster and block until it is reloaded.
|
void |
Roster.removeEntry(RosterEntry entry)
Removes a roster entry from the roster.
|
void |
Roster.sendSubscriptionRequest(BareJid jid) |
Modifier and Type | Method and Description |
---|---|
BoBData |
BoBManager.requestBoB(Jid to,
BoBHash bobHash)
Request BoB data.
|
Modifier and Type | Method and Description |
---|---|
void |
InBandBytestreamSession.processIQPacket(Data data)
Process IQ stanza.
|
Modifier and Type | Method and Description |
---|---|
MamManager.MamQueryResult |
MamManager.mostRecentPage(Jid chatJid,
int max)
Obtain the most recent page of a chat.
|
MamManager.MamQueryResult |
MamManager.page(DataForm dataForm,
RSMSet rsmSet)
Returns a page of the archive.
|
MamManager.MamQueryResult |
MamManager.page(java.lang.String node,
DataForm dataForm,
RSMSet rsmSet)
Returns a page of the archive.
|
MamManager.MamQueryResult |
MamManager.pageAfter(Jid chatJid,
java.lang.String messageUid,
int max)
Obtain page after the last message saved (specific chat).
|
MamManager.MamQueryResult |
MamManager.pageBefore(Jid chatJid,
java.lang.String messageUid,
int max)
Obtain page before the first message saved (specific chat).
|
MamManager.MamQueryResult |
MamManager.pageNext(MamManager.MamQueryResult mamQueryResult,
int count)
Returns the next page of the archive.
|
MamManager.MamQueryResult |
MamManager.pagePrevious(MamManager.MamQueryResult mamQueryResult,
int count)
Returns the previous page of the archive.
|
MamManager.MamQueryResult |
MamManager.queryArchive(java.util.Date start,
java.util.Date end)
Query archive filtering by start and/or end date.
|
MamManager.MamQueryResult |
MamManager.queryArchive(java.lang.Integer max)
Query archive with a maximum amount of results.
|
MamManager.MamQueryResult |
MamManager.queryArchive(java.lang.Integer max,
java.util.Date start,
java.util.Date end,
Jid withJid,
java.util.List<FormField> additionalFields)
Query archive applying filters: max count, start date, end date, from/to
JID and with additional fields.
|
MamManager.MamQueryResult |
MamManager.queryArchive(Jid withJid)
Query archive with a JID (only messages from/to the JID).
|
MamManager.MamQueryResult |
MamManager.queryArchive(java.util.List<FormField> additionalFields)
Query Archive adding filters with additional fields.
|
MamManager.MamQueryResult |
MamManager.queryArchive(java.lang.String node,
java.lang.Integer max,
java.util.Date start,
java.util.Date end,
Jid withJid,
java.util.List<FormField> additionalFields)
Query an message archive like a MUC archive or a PubSub node archive, addressed by an archiveAddress, applying
filters: max count, start date, end date, from/to JID and with additional fields.
|
MamManager.MamQueryResult |
MamManager.queryArchiveWithEndDate(java.util.Date end)
Query archive filtering by end date.
|
MamManager.MamQueryResult |
MamManager.queryArchiveWithStartDate(java.util.Date start)
Query archive filtering by start date.
|
MamManager.MamPrefsResult |
MamManager.retrieveArchivingPreferences()
Get the preferences stored in the server.
|
java.util.List<FormField> |
MamManager.retrieveFormFields()
Get the form fields supported by the server.
|
java.util.List<FormField> |
MamManager.retrieveFormFields(java.lang.String node)
Get the form fields supported by the server.
|
MamManager.MamPrefsResult |
MamManager.updateArchivingPreferences(java.util.List<Jid> alwaysJids,
java.util.List<Jid> neverJids,
MamPrefsIQ.DefaultBehavior defaultBehavior)
Update the preferences in the server.
|
Modifier and Type | Method and Description |
---|---|
void |
OmemoManager.initialize()
Initializes the OmemoManager.
|