| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.smack.XMPPConnection
org.jivesoftware.sparkimpl.settings.SSLXMPPConnection
public class SSLXMPPConnection
Creates an SSL connection to a XMPP server.
| Field Summary | 
|---|
| Fields inherited from class org.jivesoftware.smack.XMPPConnection | 
|---|
DEBUG_ENABLED, saslAuthentication | 
| Constructor Summary | |
|---|---|
SSLXMPPConnection(java.lang.String host)
Creates a new SSL connection to the specified host on the default SSL port (5223).  | 
|
SSLXMPPConnection(java.lang.String host,
                  int port)
Creates a new SSL connection to the specified host on the specified port.  | 
|
SSLXMPPConnection(java.lang.String host,
                  int port,
                  java.lang.String serviceName)
 | 
|
| Method Summary | |
|---|---|
 boolean | 
isSecureConnection()
 | 
| Methods inherited from class org.jivesoftware.smack.XMPPConnection | 
|---|
addConnectionCreationListener, addConnectionListener, addPacketListener, addPacketWriterInterceptor, addPacketWriterListener, connect, createPacketCollector, disconnect, getAccountManager, getChatManager, getConfiguration, getConnectionID, getHost, getPort, getRoster, getSASLAuthentication, getServiceName, getUser, isAnonymous, isAuthenticated, isConnected, isUsingCompression, isUsingTLS, login, login, login, loginAnonymously, removeConnectionCreationListener, removeConnectionListener, removePacketListener, removePacketWriterInterceptor, removePacketWriterListener, sendPacket, shutdown | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SSLXMPPConnection(java.lang.String host)
                  throws org.jivesoftware.smack.XMPPException
host - the XMPP host.
org.jivesoftware.smack.XMPPException - if an error occurs while trying to establish the connection.
                       Two possible errors can occur which will be wrapped by an XMPPException --
                       UnknownHostException (XMPP error code 504), and IOException (XMPP error code
                       502). The error codes and wrapped exceptions can be used to present more
                       appropiate error messages to end-users.
public SSLXMPPConnection(java.lang.String host,
                         int port)
                  throws org.jivesoftware.smack.XMPPException
host - the XMPP host.port - the port to use for the connection (default XMPP SSL port is 5223).
org.jivesoftware.smack.XMPPException - if an error occurs while trying to establish the connection.
                       Two possible errors can occur which will be wrapped by an XMPPException --
                       UnknownHostException (XMPP error code 504), and IOException (XMPP error code
                       502). The error codes and wrapped exceptions can be used to present more
                       appropiate error messages to end-users.
public SSLXMPPConnection(java.lang.String host,
                         int port,
                         java.lang.String serviceName)
                  throws org.jivesoftware.smack.XMPPException
org.jivesoftware.smack.XMPPException| Method Detail | 
|---|
public boolean isSecureConnection()
isSecureConnection in class org.jivesoftware.smack.XMPPConnection
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||