Modifier and Type | Class and Description |
---|---|
static class |
SmackException.AlreadyLoggedInException |
static class |
SmackException.ConnectionException
ConnectionException is thrown if Smack is unable to connect to all hosts of a given XMPP
service.
|
static class |
SmackException.FeatureNotSupportedException |
static class |
SmackException.IllegalStateChangeException |
static class |
SmackException.NoResponseException
Exception thrown always when there was no response to an IQ request within the packet reply
timeout of the used connection instance.
|
static class |
SmackException.NotConnectedException |
static class |
SmackException.NotLoggedInException |
static class |
SmackException.ResourceBindingNotOfferedException |
static class |
SmackException.SecurityRequiredException |
Modifier and Type | Method and Description |
---|---|
void |
SASLAuthentication.authenticate(String username,
String password,
String resource)
Performs SASL authentication of the specified user.
|
void |
SASLAuthentication.authenticateAnonymously()
Performs ANONYMOUS SASL authentication.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
XMPPBOSHConnection.connectInternal() |
void |
XMPPBOSHConnection.login(String username,
String password,
String resource) |
void |
XMPPBOSHConnection.loginAnonymously() |
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 void |
MultipleRecipientManager.reply(XMPPConnection connection,
Message original,
Message reply)
Sends a reply to a previously received packet that was sent to multiple recipients.
|
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 |
BytestreamRequest.accept()
Accepts the bytestream open request and returns the session to send/receive data.
|
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 |
Socks5BytestreamRequest.accept()
Accepts the SOCKS5 Bytestream initialization request and returns the socket to send/receive
data.
|
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 |
---|---|
PacketExtension |
CapsExtensionProvider.parseExtension(org.xmlpull.v1.XmlPullParser parser) |
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 |
---|---|
abstract InputStream |
StreamNegotiator.createIncomingStream(StreamInitiation initiation)
This method handles the file stream download negotiation process.
|
InputStream |
Socks5TransferNegotiator.createIncomingStream(StreamInitiation initiation) |
InputStream |
FaultTolerantNegotiator.createIncomingStream(StreamInitiation initiation) |
abstract OutputStream |
StreamNegotiator.createOutgoingStream(String streamID,
String initiator,
String target)
This method handles the file upload stream negotiation process.
|
OutputStream |
Socks5TransferNegotiator.createOutgoingStream(String streamID,
String initiator,
String target) |
OutputStream |
FaultTolerantNegotiator.createOutgoingStream(String streamID,
String initiator,
String target) |
InputStream |
IncomingFileTransfer.recieveFile()
Negotiates the stream method to transfer the file over and then returns
the negotiated stream.
|
void |
IncomingFileTransfer.recieveFile(File file)
This method negotitates the stream and then transfer's the file over the negotiated stream.
|
void |
OutgoingFileTransfer.sendFile(File file,
String description)
This method handles the stream negotiation process and transmits the file
to the remote user.
|
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.
|
protected void |
FileTransfer.writeToStream(InputStream in,
OutputStream out) |
Modifier and Type | Method and Description |
---|---|
IQ |
LastActivity.Provider.parseIQ(org.xmlpull.v1.XmlPullParser parser) |
Modifier and Type | Method and Description |
---|---|
JingleSession |
JingleSessionRequest.accept()
Accepts this request and creates the incoming Jingle session.
|
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.
|
List<IQ> |
ContentNegotiator.dispatchIncomingPacket(IQ iq,
String id) |
static boolean |
JingleManager.isServiceEnabled(XMPPConnection connection,
String userID)
Returns true if the specified user handles Jingle messages.
|
abstract IQ |
JingleSessionState.processJingle(JingleSession session,
Jingle jingle,
JingleActionEnum action)
Process an incoming Jingle Packet.
|
IQ |
JingleSessionStateUnknown.processJingle(JingleSession session,
Jingle jingle,
JingleActionEnum action) |
void |
JingleSession.receivePacketAndRespond(IQ iq)
Process and respond to an incoming packet.
|
void |
JingleSession.startOutgoing()
This is the starting point for intitiating a new session.
|
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 |
---|---|
protected abstract TransportResolver |
JingleTransportManager.createResolver(JingleSession session)
Create a Transport Resolver instance according to the implementation.
|
protected TransportResolver |
ICETransportManager.createResolver(JingleSession session) |
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 |
BridgedResolver.initialize() |
abstract void |
TransportResolver.initialize()
Initialize the Resolver
|
void |
TransportResolver.initializeAndWait()
Initialize Transport Resolver and wait until it is complete unitialized.
|
void |
ICEResolver.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.create(String nickname)
Creates the room according to some default configuration, assign the requesting user as the
room owner, and add the owner to the room but not allow anyone else to enter the room
(effectively "locking" the room).
|
boolean |
MultiUserChat.createOrJoin(String nickname)
Like
MultiUserChat.create(String) , but will return true if the room creation was acknowledged by
the service (with an 201 status code). |
String |
MultiUserChat.getReservedNickname()
Returns the reserved room nickname for the user in the room.
|
void |
MultiUserChat.join(String nickname,
String password)
Joins the chat room using the specified nickname and password.
|
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 |
---|---|
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.
|
boolean |
Workgroup.isEmailAvailable()
The workgroup service may be configured to send email.
|
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.
|