public class SSLSocketTransport extends SSLTransportSpi
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
remoteHost_ |
protected java.lang.Object |
remotePeerId_ |
context, useClientMode
Constructor and Description |
---|
SSLSocketTransport(java.net.Socket socket,
SSLContext context,
boolean useClientMode) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
convertToRemotePeerId(java.lang.String hostName,
int hostPort) |
protected void |
engineClose()
Close this transport.
|
protected java.io.InputStream |
engineGetInputStream()
Get the InputStream for this connection.
|
protected java.io.OutputStream |
engineGetOutputStream()
Get the InputStream for this connection.
|
protected java.net.InetAddress |
engineGetRemoteInetAddress()
Returns the address of the remote peer.
|
protected java.lang.Object |
engineGetRemotePeerId()
Get an id uniquely identifying the remote peer.
|
protected java.lang.String |
engineGetRemotePeerName()
Get the host name of the remote peer.
|
engineGetContext, engineGetUseClientMode
protected java.lang.Object remotePeerId_
protected java.lang.String remoteHost_
public SSLSocketTransport(java.net.Socket socket, SSLContext context, boolean useClientMode)
protected java.io.InputStream engineGetInputStream() throws java.io.IOException
SSLTransportSpi
engineGetInputStream
in class SSLTransportSpi
java.io.IOException
protected java.io.OutputStream engineGetOutputStream() throws java.io.IOException
SSLTransportSpi
engineGetOutputStream
in class SSLTransportSpi
java.io.IOException
protected java.lang.String engineGetRemotePeerName()
SSLTransportSpi
engineGetRemotePeerName
in class SSLTransportSpi
protected java.net.InetAddress engineGetRemoteInetAddress()
SSLTransportSpi
engineGetRemoteInetAddress
in class SSLTransportSpi
protected java.lang.Object convertToRemotePeerId(java.lang.String hostName, int hostPort)
protected java.lang.Object engineGetRemotePeerId()
SSLTransportSpi
engineGetRemotePeerId
in class SSLTransportSpi
protected void engineClose() throws java.io.IOException
SSLTransportSpi
engineClose
in class SSLTransportSpi
java.io.IOException