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, engineGetUseClientModeprotected 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
SSLTransportSpiengineGetInputStream in class SSLTransportSpijava.io.IOExceptionprotected java.io.OutputStream engineGetOutputStream()
throws java.io.IOException
SSLTransportSpiengineGetOutputStream in class SSLTransportSpijava.io.IOExceptionprotected java.lang.String engineGetRemotePeerName()
SSLTransportSpiengineGetRemotePeerName in class SSLTransportSpiprotected java.net.InetAddress engineGetRemoteInetAddress()
SSLTransportSpiengineGetRemoteInetAddress in class SSLTransportSpiprotected java.lang.Object convertToRemotePeerId(java.lang.String hostName,
int hostPort)
protected java.lang.Object engineGetRemotePeerId()
SSLTransportSpiengineGetRemotePeerId in class SSLTransportSpiprotected void engineClose()
throws java.io.IOException
SSLTransportSpiengineClose in class SSLTransportSpijava.io.IOException