squint
Class SecureNetConnection
java.lang.Object
squint.NetConnection
squint.SecureNetConnection
public class SecureNetConnection
- extends NetConnection
SecureNetConnection is a class that implements a data connection that
supports the transmission of text messages through the Internet
to and from a program and a port on a remote computer. It uses
the SSL and TCP protocols to ensure secure, reliable, ordered delivery of all data.
Constructor Summary |
SecureNetConnection(squint.SecureTCPSocket mySocket)
Constructs a new SecureNetConnection given a SecureTCPSocket already connected to a
remote port. |
SecureNetConnection(java.lang.String host,
int port)
Constructs a new SecureNetConnection given a the name of a remote host
and the port number on that host with which a connection should
be made. |
SecureNetConnection(java.lang.String host,
java.lang.String port)
Constructs a new SecureNetConnection given a the name of a remote host
and the port number on that host with which a connection should
be made. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureNetConnection
public SecureNetConnection(java.lang.String host,
int port)
- Constructs a new SecureNetConnection given a the name of a remote host
and the port number on that host with which a connection should
be made.
- Parameters:
host
- the name of the remote hostport
- the number of the port to contact
SecureNetConnection
public SecureNetConnection(java.lang.String host,
java.lang.String port)
- Constructs a new SecureNetConnection given a the name of a remote host
and the port number on that host with which a connection should
be made.
- Parameters:
host
- the name of the remote hostport
- the number of the port to contact
SecureNetConnection
public SecureNetConnection(squint.SecureTCPSocket mySocket)
- Constructs a new SecureNetConnection given a SecureTCPSocket already connected to a
remote port.
- Parameters:
mySocket
- the Socket with which NETConnection should be associated