public class OpenSSLSocketImplWrapper extends OpenSSLSocketImpl
| Modifier | Constructor and Description |
|---|---|
protected |
OpenSSLSocketImplWrapper(Socket socket,
String hostname,
int port,
boolean autoClose,
SSLParametersImpl sslParameters) |
addHandshakeCompletedListener, chooseClientAlias, chooseClientPSKIdentity, chooseServerAlias, chooseServerPSKIdentityHint, clientCertificateRequested, clientPSKKeyRequested, close, finalize, getAlpnSelectedProtocol, getChannelId, getEnabledCipherSuites, getEnabledProtocols, getEnableSessionCreation, getFileDescriptor$, getHandshakeSession, getHostname, getHostnameOrIP, getInputStream, getNeedClientAuth, getNpnSelectedProtocol, getOutputStream, getPSKKey, getSession, getSoWriteTimeout, getSSLParameters, getSupportedCipherSuites, getSupportedProtocols, getUseClientMode, getWantClientAuth, onSSLStateChange, removeHandshakeCompletedListener, sendUrgentData, serverPSKKeyRequested, setAlpnProtocols, setChannelIdEnabled, setChannelIdPrivateKey, setEnabledCipherSuites, setEnabledProtocols, setEnableSessionCreation, setHandshakeTimeout, setHostname, setNeedClientAuth, setNpnProtocols, setOOBInline, setSoTimeout, setSoWriteTimeout, setSSLParameters, setUseClientMode, setUseSessionTickets, setWantClientAuth, startHandshake, verifyCertificateChaingetChannel, setPerformancePreferences, setSocketImplFactory, shutdownInput, shutdownOutputprotected OpenSSLSocketImplWrapper(Socket socket, String hostname, int port, boolean autoClose, SSLParametersImpl sslParameters) throws IOException
IOExceptionpublic void connect(SocketAddress sockaddr, int timeout) throws IOException
OpenSSLSocketImplconnect in class OpenSSLSocketImplIOExceptionpublic void connect(SocketAddress sockaddr) throws IOException
connect in class OpenSSLSocketImplIOExceptionpublic void bind(SocketAddress sockaddr) throws IOException
bind in class SocketIOExceptionpublic SocketAddress getRemoteSocketAddress()
getRemoteSocketAddress in class Socketpublic SocketAddress getLocalSocketAddress()
getLocalSocketAddress in class Socketpublic InetAddress getLocalAddress()
getLocalAddress in class Socketpublic InetAddress getInetAddress()
getInetAddress in class Socketpublic void setSoLinger(boolean on,
int linger)
throws SocketException
setSoLinger in class SocketSocketExceptionpublic void setTcpNoDelay(boolean on)
throws SocketException
setTcpNoDelay in class SocketSocketExceptionpublic void setReuseAddress(boolean on)
throws SocketException
setReuseAddress in class SocketSocketExceptionpublic void setKeepAlive(boolean on)
throws SocketException
setKeepAlive in class SocketSocketExceptionpublic void setTrafficClass(int tos)
throws SocketException
setTrafficClass in class SocketSocketExceptionpublic void setSendBufferSize(int size)
throws SocketException
setSendBufferSize in class SocketSocketExceptionpublic void setReceiveBufferSize(int size)
throws SocketException
setReceiveBufferSize in class SocketSocketExceptionpublic boolean getTcpNoDelay()
throws SocketException
getTcpNoDelay in class SocketSocketExceptionpublic boolean getReuseAddress()
throws SocketException
getReuseAddress in class SocketSocketExceptionpublic boolean getOOBInline()
throws SocketException
getOOBInline in class SocketSocketExceptionpublic boolean getKeepAlive()
throws SocketException
getKeepAlive in class SocketSocketExceptionpublic int getTrafficClass()
throws SocketException
getTrafficClass in class SocketSocketExceptionpublic int getSoTimeout()
throws SocketException
getSoTimeout in class OpenSSLSocketImplSocketExceptionpublic int getSoLinger()
throws SocketException
getSoLinger in class SocketSocketExceptionpublic int getSendBufferSize()
throws SocketException
getSendBufferSize in class SocketSocketExceptionpublic int getReceiveBufferSize()
throws SocketException
getReceiveBufferSize in class SocketSocketExceptionpublic boolean isConnected()
isConnected in class Socketpublic boolean isOutputShutdown()
isOutputShutdown in class Socketpublic boolean isInputShutdown()
isInputShutdown in class Socketpublic int getPort()
getPort in class OpenSSLSocketImplpublic int getLocalPort()
getLocalPort in class Socket