Package | Description |
---|---|
org.igniterealtime.smack.smackrepl |
A REPL (Read Eval Print Loop) for Smack.
|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smack.bosh |
Smack's API for BOSH (XEP-206, XEP-124).
|
org.jivesoftware.smack.sasl |
Classes and interfaces for SASL based XMPP authentication.
|
org.jivesoftware.smack.tcp |
TCP-IP related classes for Smack.
|
org.jivesoftware.smackx.bytestreams |
Smack's API for XEP-0065: SOCKS5 Bytestreams, as well as XEP-0047: In-Band Bytestreams.
|
org.jivesoftware.smackx.bytestreams.ibb |
Smack's API for XEP-0047: In-Band Bytestreams.
|
org.jivesoftware.smackx.bytestreams.socks5 |
Smack's API for XEP-0065: SOCKS5 Bytestreams.
|
org.jivesoftware.smackx.carbons |
Smack's API for XEP-0280: Message Carbons.
|
org.jivesoftware.smackx.commands |
Smacks implementation of XEP-0050: Ad-Hoc Commands.
|
org.jivesoftware.smackx.filetransfer |
File Transfers via XEP-0095: Stream Initialization.
|
org.jivesoftware.smackx.jingleold |
TODO describe me.
|
org.jivesoftware.smackx.jingleold.listeners |
TODO describe me.
|
org.jivesoftware.smackx.jingleold.media |
TODO describe me.
|
org.jivesoftware.smackx.jingleold.nat |
TODO describe me.
|
org.jivesoftware.smackx.receipts |
XEP-0184: Message Delivery Receipts.
|
org.jivesoftware.smackx.workgroup.agent |
TODO describe me.
|
org.jivesoftware.smackx.workgroup.user |
TODO describe me.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
XmppTools.createAccount(DomainBareJid xmppDomain,
Localpart username,
String password) |
static boolean |
XmppTools.createAccount(String xmppDomain,
String username,
String password) |
static void |
XmppTools.main(String[] args) |
static boolean |
XmppTools.supportsIbr(DomainBareJid xmppDomain) |
static boolean |
XmppTools.supportsIbr(String xmppDomain) |
Modifier and Type | Class and Description |
---|---|
static class |
XMPPException.FailedNonzaException |
static class |
XMPPException.StreamErrorException |
static class |
XMPPException.XMPPErrorException
An exception caused by an XMPP error stanza response on the protocol level.
|
Modifier and Type | Field and Description |
---|---|
protected SynchronizationPoint<XMPPException> |
AbstractXMPPConnection.saslFeatureReceived
Set to success if the SASL feature has been received.
|
Modifier and Type | Method and Description |
---|---|
AbstractXMPPConnection |
AbstractXMPPConnection.connect()
Establishes a connection to the XMPP server.
|
protected abstract void |
AbstractXMPPConnection.connectInternal()
Abstract method that concrete subclasses of XMPPConnection need to implement to perform their
way of XMPP connection establishment.
|
void |
AbstractXMPPConnection.login()
Logs in to the server using the strongest SASL mechanism supported by
the server.
|
void |
AbstractXMPPConnection.login(CharSequence username,
String password)
Same as
AbstractXMPPConnection.login(CharSequence, String, Resourcepart) , but takes the resource from the connection
configuration. |
void |
AbstractXMPPConnection.login(CharSequence username,
String password,
Resourcepart resource)
Login with the given username (authorization identity).
|
protected abstract void |
AbstractXMPPConnection.loginInternal(String username,
String password,
Resourcepart resource) |
Modifier and Type | Method and Description |
---|---|
protected void |
XMPPBOSHConnection.loginInternal(String username,
String password,
Resourcepart resource) |
Modifier and Type | Class and Description |
---|---|
class |
SASLErrorException |
Modifier and Type | Method and Description |
---|---|
protected void |
XMPPTCPConnection.connectInternal()
Establishes a connection to the XMPP server.
|
protected void |
XMPPTCPConnection.loginInternal(String username,
String password,
Resourcepart resource) |
Modifier and Type | Method and Description |
---|---|
BytestreamSession |
BytestreamManager.establishSession(Jid targetJID)
Establishes a bytestream with the given user and returns the session to send/receive data
to/from the user.
|
BytestreamSession |
BytestreamManager.establishSession(Jid targetJID,
String sessionID)
Establishes a bytestream with the given user and returns the session to send/receive data
to/from the user.
|
Modifier and Type | Method and Description |
---|---|
InBandBytestreamSession |
InBandBytestreamManager.establishSession(Jid targetJID)
Establishes an In-Band Bytestream with the given user and returns the session to send/receive
data to/from the user.
|
Modifier and Type | Method and Description |
---|---|
Socks5BytestreamSession |
Socks5BytestreamManager.establishSession(Jid targetJID)
Establishes a SOCKS5 Bytestream with the given user and returns the Socket to send/receive
data to/from the user.
|
Socks5BytestreamSession |
Socks5BytestreamManager.establishSession(Jid targetJID,
String sessionID)
Establishes a SOCKS5 Bytestream with the given user using the given session ID and returns
the Socket to send/receive data to/from the user.
|
Socket |
Socks5ClientForInitiator.getSocket(int timeout) |
Socket |
Socks5Client.getSocket(int timeout)
Returns the initialized socket that can be used to transfer data between peers via the SOCKS5
proxy.
|
Modifier and Type | Method and Description |
---|---|
void |
CarbonManager.disableCarbons()
Helper method to disable carbons.
|
void |
CarbonManager.enableCarbons()
Helper method to enable carbons.
|
Modifier and Type | Method and Description |
---|---|
DiscoverItems |
AdHocCommandManager.discoverCommands(Jid jid)
Discover the commands of an specific JID.
|
void |
AdHocCommandManager.publishCommands(Jid jid)
Deprecated.
This method uses no longer existent XEP-0030 features and will be removed.
|
Modifier and Type | Method and Description |
---|---|
OutputStream |
FaultTolerantNegotiator.createOutgoingStream(String streamID,
Jid initiator,
Jid target) |
abstract OutputStream |
StreamNegotiator.createOutgoingStream(String streamID,
Jid initiator,
Jid target)
This method handles the file upload stream negotiation process.
|
OutputStream |
Socks5TransferNegotiator.createOutgoingStream(String streamID,
Jid initiator,
Jid target) |
OutputStream |
OutgoingFileTransfer.sendFile(String fileName,
long fileSize,
String description)
This method handles the negotiation of the file transfer and the stream,
it only returns the created stream after the negotiation has been completed.
|
Modifier and Type | Class and Description |
---|---|
class |
JingleException
A Jingle exception.
|
Modifier and Type | Method and Description |
---|---|
void |
JingleManager.sessionClosedOnError(XMPPException e,
JingleSession jingleSession) |
protected void |
JingleSession.triggerSessionClosedOnError(XMPPException exc)
Trigger a session closed event due to an error.
|
Modifier and Type | Method and Description |
---|---|
JingleSession |
JingleSessionRequest.accept()
Accepts this request and creates the incoming Jingle session.
|
JingleSession |
JingleManager.createIncomingJingleSession(JingleSessionRequest request)
When the session request is acceptable, this method should be invoked.
|
JingleSession |
JingleManager.createOutgoingJingleSession(EntityFullJid responder)
Creates an Jingle session to start a communication with another user.
|
List<IQ> |
JingleSession.dispatchIncomingPacket(IQ iq,
String id)
Dispatch an incoming packet.
|
List<IQ> |
ContentNegotiator.dispatchIncomingPacket(IQ iq,
String id) |
abstract List<IQ> |
JingleNegotiator.dispatchIncomingPacket(IQ iq,
String id)
Dispatch an incoming packet.
|
static boolean |
JingleManager.isServiceEnabled(XMPPConnection connection,
Jid userID)
Returns true if the specified user handles Jingle messages.
|
void |
JingleSession.receivePacketAndRespond(IQ iq)
Process and respond to an incoming packet.
|
void |
JingleSession.terminate()
Terminates the session with default reason.
|
void |
JingleSession.terminate(String reason)
Terminates the session with a custom reason.
|
Constructor and Description |
---|
JingleManager(XMPPConnection connection,
List<JingleMediaManager> jingleMediaManagers)
Default constructor with a defined XMPPConnection, Transport Resolver and a Media Manager.
|
Modifier and Type | Method and Description |
---|---|
void |
JingleSessionListener.sessionClosedOnError(XMPPException e,
JingleSession jingleSession)
Notification that the session was closed due to an exception.
|
void |
JingleTransportListener.transportClosedOnError(XMPPException e)
Notification that the transport was closed due to an exception.
|
Modifier and Type | Method and Description |
---|---|
List<IQ> |
MediaNegotiator.dispatchIncomingPacket(IQ iq,
String id)
Dispatch an incoming packet.
|
Modifier and Type | Method and Description |
---|---|
void |
ICETransportManager.sessionClosedOnError(XMPPException e,
JingleSession jingleSession) |
void |
BridgedTransportManager.sessionClosedOnError(XMPPException e,
JingleSession jingleSession) |
void |
FixedTransportManager.sessionClosedOnError(XMPPException e,
JingleSession jingleSession) |
Modifier and Type | Method and Description |
---|---|
void |
BridgedResolver.cancel() |
void |
FixedResolver.cancel() |
void |
STUNResolver.cancel()
Cancel any operation.
|
void |
ICEResolver.cancel() |
void |
BasicResolver.cancel() |
abstract void |
TransportResolver.cancel()
Cancel any asynchronous resolution operation.
|
void |
STUNResolver.clear()
Clear the list of candidates and start the resolution again.
|
void |
TransportResolver.clear()
Clear the list of candidates and start a new resolution process.
|
List<IQ> |
TransportNegotiator.dispatchIncomingPacket(IQ iq,
String id)
Dispatch an incoming packet.
|
TransportResolver |
JingleTransportManager.getResolver(JingleSession session)
Get a new Transport Resolver to be used in a Jingle Session.
|
void |
FixedResolver.initialize()
Initialize the resolver.
|
void |
STUNResolver.initialize()
Initialize the resolver.
|
void |
ICEResolver.initialize() |
void |
BasicResolver.initialize() |
abstract void |
TransportResolver.initialize()
Initialize the Resolver.
|
void |
TransportResolver.initializeAndWait()
Initialize Transport Resolver and wait until it is completely uninitialized.
|
void |
BridgedResolver.resolve(JingleSession session)
1
Resolve Bridged Candidate.
|
void |
FixedResolver.resolve(JingleSession session)
Resolve the IP address.
|
void |
STUNResolver.resolve(JingleSession session)
Resolve the IP and obtain a valid transport method.
|
void |
ICEResolver.resolve(JingleSession session)
Resolve the IP and obtain a valid transport method.
|
void |
BasicResolver.resolve(JingleSession session)
Resolve the IP address.
|
abstract void |
TransportResolver.resolve(JingleSession session)
Start a the resolution.
|
static boolean |
STUN.serviceAvailable(XMPPConnection connection)
Check if the server support STUN Service.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DeliveryReceiptManager.isSupported(Jid jid)
Returns true if Delivery Receipts are supported by a given JID.
|
Modifier and Type | Method and Description |
---|---|
void |
AgentSession.dequeueUser(EntityJid userID)
Removes a user from the workgroup queue.
|
AgentChatHistory |
AgentSession.getAgentHistory(EntityBareJid jid,
int maxSessions,
Date startDate)
Retrieves the AgentChatHistory associated with a particular agent jid.
|
Map<String,List<String>> |
AgentSession.getChatMetadata(String sessionID)
Query for metadata associated with a session id.
|
Transcript |
AgentSession.getTranscript(String sessionID)
Returns the full conversation transcript of a given session.
|
Transcripts |
AgentSession.getTranscripts(Jid userID)
Returns the transcripts of a given user.
|
Form |
AgentSession.getTranscriptSearchForm()
Returns the Form to use for searching transcripts.
|
void |
AgentSession.removeMetaData(String key)
Allows the removal of data from the agent's meta data, if the key represents existing data,
the revised meta data will be rebroadcast in an agent's presence broadcast.
|
ReportedData |
AgentSession.searchTranscripts(Form completedForm)
Submits the completed form and returns the result of the transcript search.
|
void |
AgentSession.setMetaData(String key,
String val)
Allows the addition of a new key-value pair to the agent's meta data, if the value is
new data, the revised meta data will be rebroadcast in an agent's presence broadcast.
|
void |
AgentSession.setOnline(boolean online)
Sets whether the agent is online with the workgroup.
|
void |
AgentSession.setStatus(Presence.Mode presenceMode,
int maxChats)
Sets the agent's current status with the workgroup.
|
Modifier and Type | Method and Description |
---|---|
ChatSetting |
Workgroup.getChatSetting(String key)
Returns a single chat setting based on it's identified key.
|
ChatSettings |
Workgroup.getChatSettings()
Returns all ChatSettings.
|
ChatSettings |
Workgroup.getChatSettings(int type)
Returns ChatSettings based on type.
|
void |
Workgroup.joinQueue()
Joins the workgroup queue to wait to be routed to an agent.
|
void |
Workgroup.joinQueue(Form answerForm)
Joins the workgroup queue to wait to be routed to an agent.
|
void |
Workgroup.joinQueue(Map<String,Object> metadata,
Jid userID)
Joins the workgroup queue to wait to be routed to an agent.
|