org.jabber.jabberbeans
Class ConnectionBeanSSL
java.lang.Object
|
+--org.jabber.jabberbeans.ConnectionBean
|
+--org.jabber.jabberbeans.ConnectionBeanSSL
- All Implemented Interfaces:
- PacketListenerRegistrar, java.io.Serializable
- public class ConnectionBeanSSL
- extends ConnectionBean
- See Also:
- Serialized Form
Method Summary |
void |
connect(java.net.InetAddress host)
connect attempts to establish a connection to the
default port on the specified server. |
void |
connect(java.net.InetAddress host,
int port)
connect attempts to establish a server connection to a
specified port. |
java.lang.String[] |
getCiphers(javax.net.ssl.SSLSocket s)
|
Methods inherited from class org.jabber.jabberbeans.ConnectionBean |
addConnectionListener, addPacketListener, connect, connect, connect, connect, connect, delConnectionListener, delPacketListener, disableStreamHeader, disconnect, fireReceivedPacket, fireSentPacket, fireUnsentPacket, getAddress, getConnectionState, getParser, getSessionID, onInputDeath, onOutputDeath, received, send, setConnectionState, setParser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SSL_PORT
public static final int DEFAULT_SSL_PORT
- See Also:
- Constant Field Values
ConnectionBeanSSL
public ConnectionBeanSSL()
getCiphers
public java.lang.String[] getCiphers(javax.net.ssl.SSLSocket s)
connect
public void connect(java.net.InetAddress host)
throws java.io.IOException,
javax.net.ssl.SSLException
- Description copied from class:
ConnectionBean
connect
attempts to establish a connection to the
default port on the specified server.
- Overrides:
connect
in class ConnectionBean
- Parameters:
host
- InetAddress
of the server
- Throws:
java.io.IOException
- socket error in backend
javax.net.ssl.SSLException
connect
public void connect(java.net.InetAddress host,
int port)
throws java.io.IOException,
javax.net.ssl.SSLException
- Description copied from class:
ConnectionBean
connect
attempts to establish a server connection to a
specified port. This implementation takes a hostname and port.
- Overrides:
connect
in class ConnectionBean
- Parameters:
host
- InetAddress
of the serverport
- an int
specifying the port number
- Throws:
java.io.IOException
- socket error in backend
javax.net.ssl.SSLException