Skip navigation links
A B C D E F G I L N O P Q R S T X 

A

accept(Stanza) - Method in class org.jivesoftware.smack.sm.predicates.AfterXStanzas
 
accept(Stanza) - Method in class org.jivesoftware.smack.sm.predicates.ForEveryMessage
 
accept(Stanza) - Method in class org.jivesoftware.smack.sm.predicates.ForEveryStanza
 
accept(Stanza) - Method in class org.jivesoftware.smack.sm.predicates.ForMatchingPredicateOrAfterXStanzas
 
accept(Stanza) - Method in class org.jivesoftware.smack.sm.predicates.OnceForThisStanza
 
accept(Stanza) - Method in class org.jivesoftware.smack.sm.predicates.ShortcutPredicates
 
AckAnswer(long) - Constructor for class org.jivesoftware.smack.sm.packet.StreamManagement.AckAnswer
 
ackAnswer(XmlPullParser) - Static method in class org.jivesoftware.smack.sm.provider.ParseStreamManagement
 
ackRequest(XmlPullParser) - Static method in class org.jivesoftware.smack.sm.provider.ParseStreamManagement
 
addPredicate(StanzaFilter) - Method in class org.jivesoftware.smack.sm.predicates.ShortcutPredicates
 
addRequestAckPredicate(StanzaFilter) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Add a predicate for Stream Management acknowledgment requests.
addStanzaAcknowledgedListener(StanzaListener) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Add a Stanza acknowledged listener.
addStanzaIdAcknowledgedListener(String, StanzaListener) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Add a new Stanza ID acknowledged listener for the given ID.
after5Stanzas() - Static method in class org.jivesoftware.smack.sm.predicates.Predicate
 
afterFeaturesReceived() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
 
afterSuccessfulLogin(boolean) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
 
AfterXStanzas - Class in org.jivesoftware.smack.sm.predicates
 
AfterXStanzas(int) - Constructor for class org.jivesoftware.smack.sm.predicates.AfterXStanzas
 

B

build() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnectionConfiguration.Builder
 
builder() - Static method in class org.jivesoftware.smack.tcp.XMPPTCPConnectionConfiguration
 
BundleAndDefer - Class in org.jivesoftware.smack.tcp
 
BundleAndDeferCallback - Interface in org.jivesoftware.smack.tcp
This callback is used to get the current value of the period in which Smack does bundle and defer outgoing stanzas.

C

calculateDelta(long, long) - Static method in class org.jivesoftware.smack.sm.SMUtils
Calculates the delta of the last known stanza handled count and the new reported stanza handled count while considering that the new value may be wrapped after 2^32-1.
connectInternal() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Establishes a connection to the XMPP server.

D

DEFAULT_CONNECT_TIMEOUT - Static variable in class org.jivesoftware.smack.tcp.XMPPTCPConnectionConfiguration
The default connect timeout in milliseconds.

E

ELEMENT - Static variable in class org.jivesoftware.smack.sm.packet.StreamManagement.AckAnswer
 
ELEMENT - Static variable in class org.jivesoftware.smack.sm.packet.StreamManagement.AckRequest
 
ELEMENT - Static variable in class org.jivesoftware.smack.sm.packet.StreamManagement.Enable
 
ELEMENT - Static variable in class org.jivesoftware.smack.sm.packet.StreamManagement.Enabled
 
ELEMENT - Static variable in class org.jivesoftware.smack.sm.packet.StreamManagement.Failed
 
ELEMENT - Static variable in class org.jivesoftware.smack.sm.packet.StreamManagement.Resume
 
ELEMENT - Static variable in class org.jivesoftware.smack.sm.packet.StreamManagement.Resumed
 
ELEMENT - Static variable in class org.jivesoftware.smack.sm.packet.StreamManagement.StreamManagementFeature
 
Enable(boolean) - Constructor for class org.jivesoftware.smack.sm.packet.StreamManagement.Enable
 
Enable(boolean, int) - Constructor for class org.jivesoftware.smack.sm.packet.StreamManagement.Enable
 
Enabled(String, boolean) - Constructor for class org.jivesoftware.smack.sm.packet.StreamManagement.Enabled
 
Enabled(String, boolean, String, int) - Constructor for class org.jivesoftware.smack.sm.packet.StreamManagement.Enabled
 
enabled(XmlPullParser) - Static method in class org.jivesoftware.smack.sm.provider.ParseStreamManagement
 

F

Failed() - Constructor for class org.jivesoftware.smack.sm.packet.StreamManagement.Failed
 
Failed(StanzaError.Condition, List<StanzaErrorTextElement>) - Constructor for class org.jivesoftware.smack.sm.packet.StreamManagement.Failed
 
failed(XmlPullParser) - Static method in class org.jivesoftware.smack.sm.provider.ParseStreamManagement
 
ForEveryMessage - Class in org.jivesoftware.smack.sm.predicates
 
ForEveryStanza - Class in org.jivesoftware.smack.sm.predicates
 
ForMatchingPredicateOrAfterXStanzas - Class in org.jivesoftware.smack.sm.predicates
 
ForMatchingPredicateOrAfterXStanzas(StanzaFilter, int) - Constructor for class org.jivesoftware.smack.sm.predicates.ForMatchingPredicateOrAfterXStanzas
 
forMessagesOrAfter5Stanzas() - Static method in class org.jivesoftware.smack.sm.predicates.Predicate
 

G

getAckedStanzaCount() - Method in exception org.jivesoftware.smack.sm.StreamManagementException.StreamManagementCounterError
 
getAckedStanzas() - Method in exception org.jivesoftware.smack.sm.StreamManagementException.StreamManagementCounterError
 
getBundleAndDeferMillis(BundleAndDefer) - Method in interface org.jivesoftware.smack.tcp.BundleAndDeferCallback
Return the bundle and defer period used by Smack in milliseconds.
getConnectTimeout() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnectionConfiguration
How long the socket will wait until a TCP connection is established (in milliseconds).
getDroppedElements() - Method in exception org.jivesoftware.smack.sm.StreamManagementException.UnacknowledgedQueueFullException
 
getElementName() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.AckAnswer
 
getElementName() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.AckRequest
 
getElementName() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.Enable
 
getElementName() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.Enabled
 
getElementName() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.Failed
 
getElementName() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.Resume
 
getElementName() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.Resumed
 
getElementName() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.StreamManagementFeature
 
getElements() - Method in exception org.jivesoftware.smack.sm.StreamManagementException.UnacknowledgedQueueFullException
 
getHandledCount() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.AckAnswer
 
getHandledCount() - Method in exception org.jivesoftware.smack.sm.StreamManagementException.StreamManagementCounterError
 
getId() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.Enabled
 
getLocation() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.Enabled
 
getMaxSmResumptionTime() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Get the maximum resumption time in seconds after which a managed stream can be resumed.
getNamespace() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.AckAnswer
 
getNamespace() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.AckRequest
 
getNamespace() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.Failed
 
getNamespace() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.StreamManagementFeature
 
getOutstandingStanzasCount() - Method in exception org.jivesoftware.smack.sm.StreamManagementException.StreamManagementCounterError
 
getOverflowElementNum() - Method in exception org.jivesoftware.smack.sm.StreamManagementException.UnacknowledgedQueueFullException
 
getPreviousServerHandledCount() - Method in exception org.jivesoftware.smack.sm.StreamManagementException.StreamManagementCounterError
 
getProvidersUri() - Method in class org.jivesoftware.smack.tcp.TCPInitializer
 
getStanzaErrorCondition() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.Failed
 
getTextElements() - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.Failed
 
getThis() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnectionConfiguration.Builder
 
getUnacknowledgesStanzas() - Method in exception org.jivesoftware.smack.sm.StreamManagementException.UnacknowledgedQueueFullException
 

I

incrementHeight(long) - Static method in class org.jivesoftware.smack.sm.SMUtils
Increment the Stream Management height counter.
INSTANCE - Static variable in class org.jivesoftware.smack.sm.packet.StreamManagement.AckRequest
 
INSTANCE - Static variable in class org.jivesoftware.smack.sm.packet.StreamManagement.Enable
 
INSTANCE - Static variable in class org.jivesoftware.smack.sm.packet.StreamManagement.StreamManagementFeature
 
INSTANCE - Static variable in class org.jivesoftware.smack.sm.predicates.ForEveryMessage
 
INSTANCE - Static variable in class org.jivesoftware.smack.sm.predicates.ForEveryStanza
 
instantShutdown() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Performs an unclean disconnect and shutdown of the connection.
isCompressionEnabled() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnectionConfiguration
Returns true if the connection is going to use stream compression.
isDisconnectedButSmResumptionPossible() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Returns true if the connection is disconnected by a Stream resumption via Stream Management is possible.
isSecureConnection() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
 
isSmAvailable() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Returns true if Stream Management is supported by the server.
isSmEnabled() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Returns true if Stream Management was successfully negotiated with the server.
isSmResumptionPossible() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Returns true if the stream is resumable.
isUsingCompression() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
 

L

loginInternal(String, String, Resourcepart) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
 

N

NAMESPACE - Static variable in class org.jivesoftware.smack.sm.packet.StreamManagement
 
newWith(int, List<Element>, BlockingQueue<Stanza>) - Static method in exception org.jivesoftware.smack.sm.StreamManagementException.UnacknowledgedQueueFullException
 

O

OnceForThisStanza - Class in org.jivesoftware.smack.sm.predicates
 
org.jivesoftware.smack.sm - package org.jivesoftware.smack.sm
Smack's implementation of XEP-0198: Stream Management.
org.jivesoftware.smack.sm.packet - package org.jivesoftware.smack.sm.packet
Plain stream elements for XEP-0198: Stream Management.
org.jivesoftware.smack.sm.predicates - package org.jivesoftware.smack.sm.predicates
Predicates for requesting Stream Management acknowledgements.
org.jivesoftware.smack.sm.provider - package org.jivesoftware.smack.sm.provider
Providers for XEP-0198: Stream Management.
org.jivesoftware.smack.tcp - package org.jivesoftware.smack.tcp
TCP-IP related classes for Smack.

P

packetReader - Variable in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Protected access level because of unit test purposes
PacketReader() - Constructor for class org.jivesoftware.smack.tcp.XMPPTCPConnection.PacketReader
 
packetWriter - Variable in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Protected access level because of unit test purposes
PacketWriter() - Constructor for class org.jivesoftware.smack.tcp.XMPPTCPConnection.PacketWriter
 
parse(XmlPullParser, int) - Method in class org.jivesoftware.smack.sm.provider.StreamManagementStreamFeatureProvider
 
ParseStreamManagement - Class in org.jivesoftware.smack.sm.provider
 
ParseStreamManagement() - Constructor for class org.jivesoftware.smack.sm.provider.ParseStreamManagement
 
Predicate - Class in org.jivesoftware.smack.sm.predicates
 
Predicate() - Constructor for class org.jivesoftware.smack.sm.predicates.Predicate
 

Q

QUEUE_SIZE - Static variable in class org.jivesoftware.smack.tcp.XMPPTCPConnection.PacketWriter
 

R

removeAllRequestAckPredicates() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Remove all predicates for Stream Management acknowledgment requests.
removeAllStanzaAcknowledgedListeners() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Remove all stanza acknowledged listeners.
removeAllStanzaIdAcknowledgedListeners() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Removes all Stanza ID acknowledged listeners.
removePredicate(StanzaFilter) - Method in class org.jivesoftware.smack.sm.predicates.ShortcutPredicates
 
removeRequestAckPredicate(StanzaFilter) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Remove the given predicate for Stream Management acknowledgment request.
removeStanzaAcknowledgedListener(StanzaListener) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Remove the given Stanza acknowledged listener.
removeStanzaIdAcknowledgedListener(String) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Remove the Stanza ID acknowledged listener for the given ID.
requestSmAcknowledgement() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Send an unconditional Stream Management acknowledgement request to the server.
resetCounter() - Method in class org.jivesoftware.smack.sm.predicates.AfterXStanzas
 
Resume(long, String) - Constructor for class org.jivesoftware.smack.sm.packet.StreamManagement.Resume
 
Resumed(long, String) - Constructor for class org.jivesoftware.smack.sm.packet.StreamManagement.Resumed
 
resumed(XmlPullParser) - Static method in class org.jivesoftware.smack.sm.provider.ParseStreamManagement
 

S

sendNonza(Nonza) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
 
sendSmAcknowledgement() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Send a unconditional Stream Management acknowledgment to the server.
sendStanzaInternal(Stanza) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
 
sendStreamElement(Element) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection.PacketWriter
Sends the specified element to the server.
setBundleandDeferCallback(BundleAndDeferCallback) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Set the bundle and defer callback used for this connection.
setCompressionEnabled(boolean) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnectionConfiguration.Builder
Sets if the connection is going to use stream compression.
setConnectTimeout(int) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnectionConfiguration.Builder
Set how long the socket will wait until a TCP connection is established (in milliseconds).
setDefaultBundleAndDeferCallback(BundleAndDeferCallback) - Static method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Set the default bundle and defer callback used for new connections.
setPreferredResumptionTime(int) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Set the preferred resumption time in seconds.
setup(XMPPTCPConnection, Stanza) - Static method in class org.jivesoftware.smack.sm.predicates.OnceForThisStanza
 
setUseStreamManagement(boolean) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Set if Stream Management should be used if supported by the server.
setUseStreamManagementDefault(boolean) - Static method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Set if Stream Management should be used by default for new connections.
setUseStreamManagementResumptiodDefault(boolean) - Static method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
setUseStreamManagementResumption(boolean) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Set if Stream Management resumption should be used if supported by the server.
setUseStreamManagementResumptionDefault(boolean) - Static method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Set if Stream Management resumption should be used by default for new connections.
setWriter(Writer) - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
For unit testing purposes
ShortcutPredicates - Class in org.jivesoftware.smack.sm.predicates
 
ShortcutPredicates() - Constructor for class org.jivesoftware.smack.sm.predicates.ShortcutPredicates
 
ShortcutPredicates(Collection<? extends StanzaFilter>) - Constructor for class org.jivesoftware.smack.sm.predicates.ShortcutPredicates
 
shutdown() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Shuts the current connection down.
shutdownDone - Variable in class org.jivesoftware.smack.tcp.XMPPTCPConnection.PacketWriter
Needs to be protected for unit testing purposes.
shutdownTimestamp - Variable in class org.jivesoftware.smack.tcp.XMPPTCPConnection.PacketWriter
If set, the stanza writer is shut down
SMUtils - Class in org.jivesoftware.smack.sm
 
SMUtils() - Constructor for class org.jivesoftware.smack.sm.SMUtils
 
stopCurrentBundleAndDefer() - Method in class org.jivesoftware.smack.tcp.BundleAndDefer
Stop the bundle and defer mechanism that was started when this instance of BundleAndDefer was emitted by Smack.
StreamIdDoesNotMatchException(String, String) - Constructor for exception org.jivesoftware.smack.sm.StreamManagementException.StreamIdDoesNotMatchException
 
StreamManagement - Class in org.jivesoftware.smack.sm.packet
 
StreamManagement() - Constructor for class org.jivesoftware.smack.sm.packet.StreamManagement
 
StreamManagement.AckAnswer - Class in org.jivesoftware.smack.sm.packet
 
StreamManagement.AckRequest - Class in org.jivesoftware.smack.sm.packet
 
StreamManagement.Enable - Class in org.jivesoftware.smack.sm.packet
 
StreamManagement.Enabled - Class in org.jivesoftware.smack.sm.packet
A Stream Management 'enabled' element.
StreamManagement.Failed - Class in org.jivesoftware.smack.sm.packet
 
StreamManagement.Resume - Class in org.jivesoftware.smack.sm.packet
 
StreamManagement.Resumed - Class in org.jivesoftware.smack.sm.packet
 
StreamManagement.StreamManagementFeature - Class in org.jivesoftware.smack.sm.packet
 
StreamManagementCounterError(long, long, long, List<Stanza>) - Constructor for exception org.jivesoftware.smack.sm.StreamManagementException.StreamManagementCounterError
 
StreamManagementException - Exception in org.jivesoftware.smack.sm
 
StreamManagementException() - Constructor for exception org.jivesoftware.smack.sm.StreamManagementException
 
StreamManagementException(String) - Constructor for exception org.jivesoftware.smack.sm.StreamManagementException
 
StreamManagementException.StreamIdDoesNotMatchException - Exception in org.jivesoftware.smack.sm
 
StreamManagementException.StreamManagementCounterError - Exception in org.jivesoftware.smack.sm
 
StreamManagementException.StreamManagementNotEnabledException - Exception in org.jivesoftware.smack.sm
 
StreamManagementException.UnacknowledgedQueueFullException - Exception in org.jivesoftware.smack.sm
 
StreamManagementNotEnabledException() - Constructor for exception org.jivesoftware.smack.sm.StreamManagementException.StreamManagementNotEnabledException
 
StreamManagementStreamFeatureProvider - Class in org.jivesoftware.smack.sm.provider
 
StreamManagementStreamFeatureProvider() - Constructor for class org.jivesoftware.smack.sm.provider.StreamManagementStreamFeatureProvider
 
streamWasResumed() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
Returns true if the stream was successfully resumed with help of Stream Management.

T

TCPInitializer - Class in org.jivesoftware.smack.tcp
 
TCPInitializer() - Constructor for class org.jivesoftware.smack.tcp.TCPInitializer
 
throwAlreadyConnectedExceptionIfAppropriate() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
 
throwAlreadyLoggedInExceptionIfAppropriate() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
 
throwNotConnectedExceptionIfAppropriate() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection
 
throwNotConnectedExceptionIfDoneAndResumptionNotPossible() - Method in class org.jivesoftware.smack.tcp.XMPPTCPConnection.PacketWriter
 
toXML(String) - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.AckAnswer
 
toXML(String) - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.AckRequest
 
toXML(String) - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.Enable
 
toXML(String) - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.Enabled
 
toXML(String) - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.Failed
 
toXML(String) - Method in class org.jivesoftware.smack.sm.packet.StreamManagement.StreamManagementFeature
 

X

XMPPTCPConnection - Class in org.jivesoftware.smack.tcp
Creates a socket connection to an XMPP server.
XMPPTCPConnection(XMPPTCPConnectionConfiguration) - Constructor for class org.jivesoftware.smack.tcp.XMPPTCPConnection
Creates a new XMPP connection over TCP (optionally using proxies).
XMPPTCPConnection(CharSequence, String) - Constructor for class org.jivesoftware.smack.tcp.XMPPTCPConnection
Creates a new XMPP connection over TCP.
XMPPTCPConnection(CharSequence, String, String) - Constructor for class org.jivesoftware.smack.tcp.XMPPTCPConnection
Creates a new XMPP connection over TCP.
XMPPTCPConnection.PacketReader - Class in org.jivesoftware.smack.tcp
 
XMPPTCPConnection.PacketWriter - Class in org.jivesoftware.smack.tcp
 
XMPPTCPConnectionConfiguration - Class in org.jivesoftware.smack.tcp
A connection configuration for XMPP connections over TCP (the common case).
XMPPTCPConnectionConfiguration.Builder - Class in org.jivesoftware.smack.tcp
A configuration builder for XMPP connections over TCP.
A B C D E F G I L N O P Q R S T X 
Skip navigation links