|
Project JXTA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.net.Socket
net.jxta.impl.endpoint.tls.TlsSocket
public class TlsSocket
A "shim" socket which we provide to the TLS layer.
| Field Summary | |
|---|---|
(package private) boolean |
connected
|
(package private) JTlsInputStream |
input
|
(package private) JTlsOutputStream |
output
|
| Constructor Summary | |
|---|---|
TlsSocket(JTlsInputStream useInput,
JTlsOutputStream useOutput)
Creates a new instance of TlsSocket |
|
| Method Summary | |
|---|---|
void |
close()
|
SocketChannel |
getChannel()
|
InetAddress |
getInetAddress()
|
InputStream |
getInputStream()
|
InetAddress |
getLocalAddress()
|
SocketAddress |
getLocalSocketAddress()
|
OutputStream |
getOutputStream()
|
SocketAddress |
getRemoteSocketAddress()
|
boolean |
isBound()
|
boolean |
isConnected()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
final JTlsInputStream input
final JTlsOutputStream output
boolean connected
| Constructor Detail |
|---|
public TlsSocket(JTlsInputStream useInput,
JTlsOutputStream useOutput)
| Method Detail |
|---|
public void close()
throws IOException
close in class SocketIOException
public InputStream getInputStream()
throws IOException
getInputStream in class SocketIOException
public OutputStream getOutputStream()
throws IOException
getOutputStream in class SocketIOExceptionpublic boolean isBound()
isBound in class Socketpublic boolean isConnected()
isConnected in class Socketpublic InetAddress getInetAddress()
getInetAddress in class Socketpublic InetAddress getLocalAddress()
getLocalAddress in class Socketpublic SocketAddress getRemoteSocketAddress()
getRemoteSocketAddress in class Socketpublic SocketAddress getLocalSocketAddress()
getLocalSocketAddress in class Socketpublic SocketChannel getChannel()
getChannel in class Socket
|
JXTA J2SE | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||