Uses of Class
org.jivesoftware.smack.Connection

Packages that use Connection
org.jivesoftware.smack Core classes of the Smack API. 
org.jivesoftware.smack.debugger Core debugger functionality. 
org.jivesoftware.smack.util Utility classes. 
org.jivesoftware.smackx Smack extensions API. 
org.jivesoftware.smackx.bookmark   
org.jivesoftware.smackx.bytestreams.ibb   
org.jivesoftware.smackx.bytestreams.socks5   
org.jivesoftware.smackx.commands   
org.jivesoftware.smackx.debugger Smack optional Debuggers. 
org.jivesoftware.smackx.filetransfer   
org.jivesoftware.smackx.muc Classes and Interfaces that implement Multi-User Chat (MUC). 
org.jivesoftware.smackx.packet XML packets that are part of the XMPP extension protocols. 
org.jivesoftware.smackx.pubsub   
org.jivesoftware.smackx.pubsub.packet   
org.jivesoftware.smackx.search   
org.jivesoftware.smackx.workgroup.agent   
org.jivesoftware.smackx.workgroup.user   
org.jivesoftware.util   
 

Uses of Connection in org.jivesoftware.smack
 

Subclasses of Connection in org.jivesoftware.smack
 class DummyConnection
          A dummy implementation of Connection, intended to be used during unit tests.
 class ThreadedDummyConnection
           
 class XMPPConnection
          Creates a socket connection to a XMPP server.
 

Methods in org.jivesoftware.smack with parameters of type Connection
 void ConnectionCreationListener.connectionCreated(Connection connection)
          Notification that a new connection has been created.
static PrivacyListManager PrivacyListManager.getInstanceFor(Connection connection)
          Returns the PrivacyListManager instance associated with a given Connection.
 

Constructors in org.jivesoftware.smack with parameters of type Connection
AccountManager(Connection connection)
          Creates a new AccountManager instance.
 

Uses of Connection in org.jivesoftware.smack.debugger
 

Constructors in org.jivesoftware.smack.debugger with parameters of type Connection
ConsoleDebugger(Connection connection, java.io.Writer writer, java.io.Reader reader)
           
LiteDebugger(Connection connection, java.io.Writer writer, java.io.Reader reader)
           
 

Uses of Connection in org.jivesoftware.smack.util
 

Methods in org.jivesoftware.smack.util with parameters of type Connection
static IQ PacketParserUtils.parseIQ(org.xmlpull.v1.XmlPullParser parser, Connection connection)
          Parses an IQ packet.
 

Uses of Connection in org.jivesoftware.smackx
 

Methods in org.jivesoftware.smackx with parameters of type Connection
static ChatStateManager ChatStateManager.getInstance(Connection connection)
          Returns the ChatStateManager related to the Connection and it will create one if it does not yet exist.
static ServiceDiscoveryManager ServiceDiscoveryManager.getInstanceFor(Connection connection)
          Returns the ServiceDiscoveryManager instance associated with a given Connection.
static LastActivity LastActivityManager.getLastActivity(Connection con, java.lang.String jid)
          Returns the last activity of a particular jid.
static java.util.List SharedGroupManager.getSharedGroups(Connection connection)
          Returns the collection that will contain the name of the shared groups where the user logged in with the specified session belongs.
static boolean XHTMLManager.isServiceEnabled(Connection connection)
          Returns true if the XHTML support is enabled for the given connection.
static boolean XHTMLManager.isServiceEnabled(Connection connection, java.lang.String userID)
          Returns true if the specified user handles XHTML messages.
static void MultipleRecipientManager.reply(Connection connection, Message original, Message reply)
          Sends a reply to a previously received packet that was sent to multiple recipients.
static void MultipleRecipientManager.send(Connection connection, Packet packet, java.util.List to, java.util.List cc, java.util.List bcc)
          Sends the specified packet to the list of specified recipients using the specified connection.
static void MultipleRecipientManager.send(Connection connection, Packet packet, java.util.List to, java.util.List cc, java.util.List bcc, java.lang.String replyTo, java.lang.String replyRoom, boolean noReply)
          Sends the specified packet to the list of specified recipients using the specified connection.
static void XHTMLManager.setServiceEnabled(Connection connection, boolean enabled)
          Enables or disables the XHTML support on a given connection.
 

Constructors in org.jivesoftware.smackx with parameters of type Connection
MessageEventManager(Connection con)
          Creates a new message event manager.
OfflineMessageManager(Connection connection)
           
PEPManager(Connection connection)
          Creates a new PEP exchange manager.
PrivateDataManager(Connection connection)
          Creates a new private data manager.
PrivateDataManager(Connection connection, java.lang.String user)
          Creates a new private data manager for a specific user (special case).
RosterExchangeManager(Connection con)
          Creates a new roster exchange manager.
ServiceDiscoveryManager(Connection connection)
          Creates a new ServiceDiscoveryManager for a given Connection.
 

Uses of Connection in org.jivesoftware.smackx.bookmark
 

Methods in org.jivesoftware.smackx.bookmark with parameters of type Connection
static BookmarkManager BookmarkManager.getBookmarkManager(Connection connection)
          Returns the BookmarkManager for a connection, if it doesn't exist it is created.
 

Uses of Connection in org.jivesoftware.smackx.bytestreams.ibb
 

Methods in org.jivesoftware.smackx.bytestreams.ibb with parameters of type Connection
static InBandBytestreamManager InBandBytestreamManager.getByteStreamManager(Connection connection)
          Returns the InBandBytestreamManager to handle In-Band Bytestreams for a given Connection.
 

Uses of Connection in org.jivesoftware.smackx.bytestreams.socks5
 

Methods in org.jivesoftware.smackx.bytestreams.socks5 with parameters of type Connection
static Socks5BytestreamManager Socks5BytestreamManager.getBytestreamManager(Connection connection)
          Returns the Socks5BytestreamManager to handle SOCKS5 Bytestreams for a given Connection.
 

Uses of Connection in org.jivesoftware.smackx.commands
 

Methods in org.jivesoftware.smackx.commands with parameters of type Connection
static AdHocCommandManager AdHocCommandManager.getAddHocCommandsManager(Connection connection)
          Returns the AdHocCommandManager related to the connection.
 

Uses of Connection in org.jivesoftware.smackx.debugger
 

Constructors in org.jivesoftware.smackx.debugger with parameters of type Connection
EnhancedDebugger(Connection connection, java.io.Writer writer, java.io.Reader reader)
           
 

Uses of Connection in org.jivesoftware.smackx.filetransfer
 

Methods in org.jivesoftware.smackx.filetransfer with parameters of type Connection
static FileTransferNegotiator FileTransferNegotiator.getInstanceFor(Connection connection)
          Returns the file transfer negotiator related to a particular connection.
static boolean FileTransferNegotiator.isServiceEnabled(Connection connection)
          Checks to see if all file transfer related services are enabled on the connection.
static void FileTransferNegotiator.setServiceEnabled(Connection connection, boolean isEnabled)
          Enable the Jabber services related to file transfer on the particular connection.
 

Constructors in org.jivesoftware.smackx.filetransfer with parameters of type Connection
FaultTolerantNegotiator(Connection connection, StreamNegotiator primary, StreamNegotiator secondary)
           
FileTransferManager(Connection connection)
          Creates a file transfer manager to initiate and receive file transfers.
 

Uses of Connection in org.jivesoftware.smackx.muc
 

Methods in org.jivesoftware.smackx.muc with parameters of type Connection
static void MultiUserChat.addInvitationListener(Connection conn, InvitationListener listener)
          Adds a listener to invitation notifications.
static void MultiUserChat.decline(Connection conn, java.lang.String room, java.lang.String inviter, java.lang.String reason)
          Informs the sender of an invitation that the invitee declines the invitation.
static java.util.Collection<HostedRoom> MultiUserChat.getHostedRooms(Connection connection, java.lang.String serviceName)
          Returns a collection of HostedRooms where each HostedRoom has the XMPP address of the room and the room's name.
static java.util.Iterator<java.lang.String> MultiUserChat.getJoinedRooms(Connection connection, java.lang.String user)
          Returns an Iterator on the rooms where the requested user has joined.
static RoomInfo MultiUserChat.getRoomInfo(Connection connection, java.lang.String room)
          Returns the discovered information of a given room without actually having to join the room.
static java.util.Collection<java.lang.String> MultiUserChat.getServiceNames(Connection connection)
          Returns a collection with the XMPP addresses of the Multi-User Chat services.
 void InvitationListener.invitationReceived(Connection conn, java.lang.String room, java.lang.String inviter, java.lang.String reason, java.lang.String password, Message message)
          Called when the an invitation to join a MUC room is received.
static boolean MultiUserChat.isServiceEnabled(Connection connection, java.lang.String user)
          Returns true if the specified user supports the Multi-User Chat protocol.
static void MultiUserChat.removeInvitationListener(Connection conn, InvitationListener listener)
          Removes a listener to invitation notifications.
 

Constructors in org.jivesoftware.smackx.muc with parameters of type Connection
MultiUserChat(Connection connection, java.lang.String room)
          Creates a new multi user chat with the specified connection and room name.
 

Uses of Connection in org.jivesoftware.smackx.packet
 

Methods in org.jivesoftware.smackx.packet with parameters of type Connection
static LastActivity LastActivity.getLastActivity(Connection con, java.lang.String jid)
          Deprecated. This method only retreives the lapsed time since the last logout of a particular jid. Replaced by getLastActivity
static Packet SyncPacketSend.getReply(Connection connection, Packet packet)
           
static Packet SyncPacketSend.getReply(Connection connection, Packet packet, long timeout)
           
 void VCard.load(Connection connection)
          Load VCard information for a connected user.
 void VCard.load(Connection connection, java.lang.String user)
          Load VCard information for a given user.
 void VCard.save(Connection connection)
          Save this vCard for the user connected by 'connection'.
 

Uses of Connection in org.jivesoftware.smackx.pubsub
 

Constructors in org.jivesoftware.smackx.pubsub with parameters of type Connection
PubSubManager(Connection connection)
          Create a pubsub manager associated to the specified connection.
PubSubManager(Connection connection, java.lang.String toAddress)
          Create a pubsub manager associated to the specified connection where the pubsub requests require a specific to address for packets.
 

Uses of Connection in org.jivesoftware.smackx.pubsub.packet
 

Methods in org.jivesoftware.smackx.pubsub.packet with parameters of type Connection
static Packet SyncPacketSend.getReply(Connection connection, Packet packet)
           
static Packet SyncPacketSend.getReply(Connection connection, Packet packet, long timeout)
           
 

Uses of Connection in org.jivesoftware.smackx.search
 

Methods in org.jivesoftware.smackx.search with parameters of type Connection
 Form UserSearch.getSearchForm(Connection con, java.lang.String searchService)
          Returns the form for all search fields supported by the search service.
 ReportedData UserSearch.sendSearchForm(Connection con, Form searchForm, java.lang.String searchService)
          Sends the filled out answer form to be sent and queried by the search service.
 ReportedData UserSearch.sendSimpleSearchForm(Connection con, Form searchForm, java.lang.String searchService)
          Sends the filled out answer form to be sent and queried by the search service.
 

Constructors in org.jivesoftware.smackx.search with parameters of type Connection
UserSearchManager(Connection con)
          Creates a new UserSearchManager.
 

Uses of Connection in org.jivesoftware.smackx.workgroup.agent
 

Methods in org.jivesoftware.smackx.workgroup.agent with parameters of type Connection
 GenericSettings AgentSession.getGenericSettings(Connection con, java.lang.String query)
          Returns the generic metadata of the workgroup the agent belongs to.
static java.util.Collection<java.lang.String> Agent.getWorkgroups(java.lang.String serviceJID, java.lang.String agentJID, Connection connection)
           
 boolean AgentSession.hasMonitorPrivileges(Connection con)
           
 void AgentSession.makeRoomOwner(Connection con, java.lang.String sessionID)
           
 void OfferConfirmation.notifyService(Connection con, java.lang.String workgroup, java.lang.String createdRoomName)
           
 

Constructors in org.jivesoftware.smackx.workgroup.agent with parameters of type Connection
AgentSession(java.lang.String workgroupJID, Connection connection)
          Constructs a new agent session instance.
TranscriptManager(Connection connection)
           
TranscriptSearchManager(Connection connection)
           
 

Uses of Connection in org.jivesoftware.smackx.workgroup.user
 

Constructors in org.jivesoftware.smackx.workgroup.user with parameters of type Connection
Workgroup(java.lang.String workgroupJID, Connection connection)
          Creates a new workgroup instance using the specified workgroup JID (eg support@workgroup.example.com) and XMPP connection.
 

Uses of Connection in org.jivesoftware.util
 

Methods in org.jivesoftware.util that return Connection
static Connection ConnectionUtils.createMockedConnection(Protocol protocol, java.lang.String initiatorJID, java.lang.String xmppServer)
          Creates a mocked XMPP connection that stores every packet that is send over this connection in the given protocol instance and returns the predefined answer packets form the protocol instance.