|
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 Socket
IOException
public InputStream getInputStream() throws IOException
getInputStream
in class Socket
IOException
public OutputStream getOutputStream() throws IOException
getOutputStream
in class Socket
IOException
public boolean isBound()
isBound
in class Socket
public boolean isConnected()
isConnected
in class Socket
public InetAddress getInetAddress()
getInetAddress
in class Socket
public InetAddress getLocalAddress()
getLocalAddress
in class Socket
public SocketAddress getRemoteSocketAddress()
getRemoteSocketAddress
in class Socket
public SocketAddress getLocalSocketAddress()
getLocalSocketAddress
in class Socket
public SocketChannel getChannel()
getChannel
in class Socket
|
JXTA J2SE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |