|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsquint.TCPConnection
squint.SecureTCPConnection
public class SecureTCPConnection
A TCPConnection is a class that implements a data connection that supports the transmission of binary and text data through the Internet to and from a program and a port on a remote computer.
Field Summary |
---|
Fields inherited from class squint.TCPConnection |
---|
in, out |
Constructor Summary | |
---|---|
SecureTCPConnection(squint.SecureTCPSocket mySocket)
Constructs a new SecureTCPConnection given a SecurTCPSocket already connected to a remote port. |
|
SecureTCPConnection(javax.net.ssl.SSLSocket aSocket)
Constructs a new SecureTCPConnection given an SSLSocket already connected to a remote port. |
|
SecureTCPConnection(java.lang.String host,
int port)
Constructs a new SecureTCPConnection given a the name of a remote host and the port number on that host with which a connection should be made. |
|
SecureTCPConnection(java.lang.String host,
java.lang.String port)
Constructs a new SecureTCPConnection given a the name of a remote host and the port number on that host with which a connection should be made. |
Method Summary |
---|
Methods inherited from class squint.TCPConnection |
---|
addMessageListener, close, getLocalAddress, getLocalPort, getRemoteAddress, getRemotePort, removeMessageListener |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecureTCPConnection(java.lang.String host, int port)
host
- the name of the remote hostport
- the number of the port to contactpublic SecureTCPConnection(java.lang.String host, java.lang.String port)
host
- the name of the remote hostport
- the number of the port to contact (in String form)public SecureTCPConnection(squint.SecureTCPSocket mySocket)
mySocket
- the TCPSocket with which TCPConnection should be associatedpublic SecureTCPConnection(javax.net.ssl.SSLSocket aSocket)
aSocket
- the Socket with which TCPConnection should be associated
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |