public class Ks3SSLSocket extends SSLSocket
| 构造器和说明 |
|---|
Ks3SSLSocket(SSLSocket sock) |
getHandshakeSession, getSSLParameters, setSSLParameterssetSocketImplFactorypublic Ks3SSLSocket(SSLSocket sock)
public void connect(SocketAddress endpoint) throws IOException
connect 在类中 SocketIOExceptionpublic void connect(SocketAddress endpoint, int timeout) throws IOException
connect 在类中 SocketIOExceptionpublic void bind(SocketAddress bindpoint) throws IOException
bind 在类中 SocketIOExceptionpublic InetAddress getInetAddress()
getInetAddress 在类中 Socketpublic InetAddress getLocalAddress()
getLocalAddress 在类中 Socketpublic int getLocalPort()
getLocalPort 在类中 Socketpublic SocketAddress getRemoteSocketAddress()
getRemoteSocketAddress 在类中 Socketpublic SocketAddress getLocalSocketAddress()
getLocalSocketAddress 在类中 Socketpublic SocketChannel getChannel()
getChannel 在类中 Socketpublic InputStream getInputStream() throws IOException
getInputStream 在类中 SocketIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream 在类中 SocketIOExceptionpublic void setTcpNoDelay(boolean on)
throws SocketException
setTcpNoDelay 在类中 SocketSocketExceptionpublic boolean getTcpNoDelay()
throws SocketException
getTcpNoDelay 在类中 SocketSocketExceptionpublic void setSoLinger(boolean on,
int linger)
throws SocketException
setSoLinger 在类中 SocketSocketExceptionpublic int getSoLinger()
throws SocketException
getSoLinger 在类中 SocketSocketExceptionpublic void sendUrgentData(int data)
throws IOException
sendUrgentData 在类中 SocketIOExceptionpublic void setOOBInline(boolean on)
throws SocketException
setOOBInline 在类中 SocketSocketExceptionpublic boolean getOOBInline()
throws SocketException
getOOBInline 在类中 SocketSocketExceptionpublic void setSoTimeout(int timeout)
throws SocketException
setSoTimeout 在类中 SocketSocketExceptionpublic int getSoTimeout()
throws SocketException
getSoTimeout 在类中 SocketSocketExceptionpublic void setSendBufferSize(int size)
throws SocketException
setSendBufferSize 在类中 SocketSocketExceptionpublic int getSendBufferSize()
throws SocketException
getSendBufferSize 在类中 SocketSocketExceptionpublic void setReceiveBufferSize(int size)
throws SocketException
setReceiveBufferSize 在类中 SocketSocketExceptionpublic int getReceiveBufferSize()
throws SocketException
getReceiveBufferSize 在类中 SocketSocketExceptionpublic void setKeepAlive(boolean on)
throws SocketException
setKeepAlive 在类中 SocketSocketExceptionpublic boolean getKeepAlive()
throws SocketException
getKeepAlive 在类中 SocketSocketExceptionpublic void setTrafficClass(int tc)
throws SocketException
setTrafficClass 在类中 SocketSocketExceptionpublic int getTrafficClass()
throws SocketException
getTrafficClass 在类中 SocketSocketExceptionpublic void setReuseAddress(boolean on)
throws SocketException
setReuseAddress 在类中 SocketSocketExceptionpublic boolean getReuseAddress()
throws SocketException
getReuseAddress 在类中 SocketSocketExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 SocketIOExceptionpublic void shutdownInput()
throws IOException
shutdownInput 在类中 SocketIOExceptionpublic void shutdownOutput()
throws IOException
shutdownOutput 在类中 SocketIOExceptionpublic boolean isConnected()
isConnected 在类中 Socketpublic boolean isInputShutdown()
isInputShutdown 在类中 Socketpublic boolean isOutputShutdown()
isOutputShutdown 在类中 Socketpublic void setPerformancePreferences(int connectionTime,
int latency,
int bandwidth)
setPerformancePreferences 在类中 Socketpublic String[] getSupportedCipherSuites()
getSupportedCipherSuites 在类中 SSLSocketpublic String[] getEnabledCipherSuites()
getEnabledCipherSuites 在类中 SSLSocketpublic void setEnabledCipherSuites(String[] suites)
setEnabledCipherSuites 在类中 SSLSocketpublic String[] getSupportedProtocols()
getSupportedProtocols 在类中 SSLSocketpublic String[] getEnabledProtocols()
getEnabledProtocols 在类中 SSLSocketpublic void setEnabledProtocols(String[] protocols)
setEnabledProtocols 在类中 SSLSocketpublic SSLSession getSession()
getSession 在类中 SSLSocketpublic void addHandshakeCompletedListener(HandshakeCompletedListener listener)
addHandshakeCompletedListener 在类中 SSLSocketpublic void removeHandshakeCompletedListener(HandshakeCompletedListener listener)
public void startHandshake()
throws IOException
startHandshake 在类中 SSLSocketIOExceptionpublic void setUseClientMode(boolean mode)
setUseClientMode 在类中 SSLSocketpublic boolean getUseClientMode()
getUseClientMode 在类中 SSLSocketpublic void setNeedClientAuth(boolean need)
setNeedClientAuth 在类中 SSLSocketpublic boolean getNeedClientAuth()
getNeedClientAuth 在类中 SSLSocketpublic void setWantClientAuth(boolean want)
setWantClientAuth 在类中 SSLSocketpublic boolean getWantClientAuth()
getWantClientAuth 在类中 SSLSocketpublic void setEnableSessionCreation(boolean flag)
setEnableSessionCreation 在类中 SSLSocketpublic boolean getEnableSessionCreation()
getEnableSessionCreation 在类中 SSLSocketCopyright © 2024. All rights reserved.