public abstract class SSLTransportSpi
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected SSLContext |
context |
protected boolean |
useClientMode |
Modifier | Constructor and Description |
---|---|
protected |
SSLTransportSpi() |
protected |
SSLTransportSpi(SSLContext context,
boolean useClientMode) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
engineClose()
Close this transport.
|
protected SSLContext |
engineGetContext()
Get the SSLContext for this connection.
|
protected abstract java.io.InputStream |
engineGetInputStream()
Get the InputStream for this connection.
|
protected abstract 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.
|
protected boolean |
engineGetUseClientMode()
Return whether or not this endpoint of the connection resides
on the server side.
|
protected SSLContext context
protected boolean useClientMode
protected SSLTransportSpi(SSLContext context, boolean useClientMode)
protected SSLTransportSpi()
protected SSLContext engineGetContext()
protected abstract java.io.InputStream engineGetInputStream() throws java.io.IOException
java.io.IOException
protected abstract java.io.OutputStream engineGetOutputStream() throws java.io.IOException
java.io.IOException
protected java.lang.String engineGetRemotePeerName()
protected java.net.InetAddress engineGetRemoteInetAddress()
protected java.lang.Object engineGetRemotePeerId()
protected abstract void engineClose() throws java.io.IOException
java.io.IOException
protected boolean engineGetUseClientMode()