Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smack.bosh | |
org.jivesoftware.smack.sasl |
SASL Mechanisms.
|
org.jivesoftware.smack.tcp | |
org.jivesoftware.smackx.bookmarks | |
org.jivesoftware.smackx.bytestreams | |
org.jivesoftware.smackx.bytestreams.ibb | |
org.jivesoftware.smackx.bytestreams.socks5 | |
org.jivesoftware.smackx.carbons | |
org.jivesoftware.smackx.commands | |
org.jivesoftware.smackx.filetransfer | |
org.jivesoftware.smackx.jingle | |
org.jivesoftware.smackx.jingle.listeners | |
org.jivesoftware.smackx.jingle.media | |
org.jivesoftware.smackx.jingle.nat | |
org.jivesoftware.smackx.muc |
Classes and Interfaces that implement Multi-User Chat (MUC).
|
org.jivesoftware.smackx.receipts | |
org.jivesoftware.smackx.workgroup.agent | |
org.jivesoftware.smackx.workgroup.user |
Modifier and Type | Class and Description |
---|---|
static class |
XMPPException.StreamErrorException |
static class |
XMPPException.XMPPErrorException |
Modifier and Type | Method and Description |
---|---|
void |
XMPPConnection.connect()
Establishes a connection to the XMPP server and performs an automatic login
only if the previous connection state was logged (authenticated).
|
protected abstract void |
XMPPConnection.connectInternal()
Abstract method that concrete subclasses of XMPPConnection need to implement to perform their
way of XMPP connection establishment.
|
void |
XMPPConnection.login(String username,
String password)
Logs in to the server using the strongest authentication mode supported by
the server, then sets presence to available.
|
abstract void |
XMPPConnection.login(String username,
String password,
String resource)
Logs in to the server using the strongest authentication mode supported by
the server, then sets presence to available.
|
abstract void |
XMPPConnection.loginAnonymously()
Logs in to the server anonymously.
|
void |
Chat.sendMessage(String text)
Sends the specified text as a message to the other chat participant.
|
Modifier and Type | Method and Description |
---|---|
void |
XMPPBOSHConnection.login(String username,
String password,
String resource) |
void |
XMPPBOSHConnection.loginAnonymously() |
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 and performs an automatic login
only if the previous connection state was logged (authenticated).
|
void |
XMPPTCPConnection.login(String username,
String password,
String resource) |
void |
XMPPTCPConnection.loginAnonymously() |
Modifier and Type | Method and Description |
---|---|
static BookmarkManager |
BookmarkManager.getBookmarkManager(XMPPConnection connection)
Returns the BookmarkManager for a connection, if it doesn't exist it is created.
|
Modifier and Type | Method and Description |
---|---|
BytestreamSession |
BytestreamManager.establishSession(String targetJID)
Establishes a bytestream with the given user and returns the session to send/receive data
to/from the user.
|
BytestreamSession |
BytestreamManager.establishSession(String 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(String 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(String targetJID)
Establishes a SOCKS5 Bytestream with the given user and returns the Socket to send/receive
data to/from the user.
|
Socks5BytestreamSession |
Socks5BytestreamManager.establishSession(String 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.
|
Modifier and Type | Method and Description |
---|---|
void |
CarbonManager.disableCarbons()
Helper method to disable carbons.
|
void |
CarbonManager.enableCarbons()
Helper method to enable carbons.
|
boolean |
CarbonManager.isSupportedByServer()
Returns true if XMPP Carbons are supported by the server.
|
Modifier and Type | Method and Description |
---|---|
DiscoverItems |
AdHocCommandManager.discoverCommands(String jid)
Discover the commands of an specific JID.
|
void |
AdHocCommandManager.publishCommands(String jid)
Publish the commands to an specific JID.
|
Modifier and Type | Method and Description |
---|---|
OutputStream |
FaultTolerantNegotiator.createOutgoingStream(String streamID,
String initiator,
String target) |
OutputStream |
Socks5TransferNegotiator.createOutgoingStream(String streamID,
String initiator,
String target) |
abstract OutputStream |
StreamNegotiator.createOutgoingStream(String streamID,
String initiator,
String target)
This method handles the file upload stream negotiation process.
|
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(String responder)
Creates an Jingle session to start a communication with another user.
|
List<IQ> |
ContentNegotiator.dispatchIncomingPacket(IQ iq,
String id) |
abstract List<IQ> |
JingleNegotiator.dispatchIncomingPacket(IQ iq,
String id)
Dispatch an incoming packet.
|
List<IQ> |
JingleSession.dispatchIncomingPacket(IQ iq,
String id)
Dispatch an incoming packet.
|
static boolean |
JingleManager.isServiceEnabled(XMPPConnection connection,
String 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
If a fully implemented JingleMediaSession is entered, JingleManager manage Jingle signalling and jmf
|
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 |
BridgedTransportManager.sessionClosedOnError(XMPPException e,
JingleSession jingleSession) |
void |
FixedTransportManager.sessionClosedOnError(XMPPException e,
JingleSession jingleSession) |
void |
ICETransportManager.sessionClosedOnError(XMPPException e,
JingleSession jingleSession) |
Modifier and Type | Method and Description |
---|---|
void |
BasicResolver.cancel() |
void |
BridgedResolver.cancel() |
void |
FixedResolver.cancel() |
void |
ICEResolver.cancel() |
void |
STUNResolver.cancel()
Cancel any operation.
|
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 |
BasicResolver.initialize() |
void |
FixedResolver.initialize()
Initialize the resolver.
|
void |
ICEResolver.initialize() |
void |
STUNResolver.initialize()
Initialize the resolver.
|
abstract void |
TransportResolver.initialize()
Initialize the Resolver
|
void |
TransportResolver.initializeAndWait()
Initialize Transport Resolver and wait until it is complete unitialized.
|
void |
BasicResolver.resolve(JingleSession session)
Resolve the IP address.
|
void |
BridgedResolver.resolve(JingleSession session)
Resolve Bridged Candidate.
|
void |
FixedResolver.resolve(JingleSession session)
Resolve the IP address.
|
void |
ICEResolver.resolve(JingleSession session)
Resolve the IP and obtain a valid transport method.
|
void |
STUNResolver.resolve(JingleSession session)
Resolve the IP and obtain a valid transport method.
|
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 |
---|---|
void |
MultiUserChat.sendMessage(Message message)
Sends a Message to the chat room.
|
void |
MultiUserChat.sendMessage(String text)
Sends a message to the chat room.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DeliveryReceiptManager.isSupported(String jid)
Returns true if Delivery Receipts are supported by a given JID
|
Modifier and Type | Method and Description |
---|---|
void |
AgentSession.dequeueUser(String userID)
Removes a user from the workgroup queue.
|
AgentChatHistory |
AgentSession.getAgentHistory(String 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(String 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,
String userID)
Joins the workgroup queue to wait to be routed to an agent.
|