public class GlobusSSLSocketWrapper extends SSLServerSocket
Constructor and Description |
---|
GlobusSSLSocketWrapper(SSLServerSocket delegate) |
getSSLParameters, setSSLParameters
implAccept, setSocketFactory
public GlobusSSLSocketWrapper(SSLServerSocket delegate) throws IOException
IOException
public Socket accept() throws IOException
accept
in class ServerSocket
IOException
public void bind(SocketAddress endpoint, int backlog) throws IOException
bind
in class ServerSocket
IOException
public void bind(SocketAddress endpoint) throws IOException
bind
in class ServerSocket
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class ServerSocket
IOException
public ServerSocketChannel getChannel()
getChannel
in class ServerSocket
public String[] getEnabledCipherSuites()
getEnabledCipherSuites
in class SSLServerSocket
public String[] getEnabledProtocols()
getEnabledProtocols
in class SSLServerSocket
public boolean getEnableSessionCreation()
getEnableSessionCreation
in class SSLServerSocket
public InetAddress getInetAddress()
getInetAddress
in class ServerSocket
public int getLocalPort()
getLocalPort
in class ServerSocket
public SocketAddress getLocalSocketAddress()
getLocalSocketAddress
in class ServerSocket
public boolean getNeedClientAuth()
getNeedClientAuth
in class SSLServerSocket
public int getReceiveBufferSize() throws SocketException
getReceiveBufferSize
in class ServerSocket
SocketException
public boolean getReuseAddress() throws SocketException
getReuseAddress
in class ServerSocket
SocketException
public int getSoTimeout() throws IOException
getSoTimeout
in class ServerSocket
IOException
public String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class SSLServerSocket
public String[] getSupportedProtocols()
getSupportedProtocols
in class SSLServerSocket
public boolean getUseClientMode()
getUseClientMode
in class SSLServerSocket
public boolean getWantClientAuth()
getWantClientAuth
in class SSLServerSocket
public boolean isBound()
isBound
in class ServerSocket
public boolean isClosed()
isClosed
in class ServerSocket
public void setEnabledCipherSuites(String[] suites)
setEnabledCipherSuites
in class SSLServerSocket
public void setEnabledProtocols(String[] protocols)
setEnabledProtocols
in class SSLServerSocket
public void setEnableSessionCreation(boolean flag)
setEnableSessionCreation
in class SSLServerSocket
public void setNeedClientAuth(boolean need)
setNeedClientAuth
in class SSLServerSocket
public void setPerformancePreferences(int connectionTime, int latency, int bandwidth)
setPerformancePreferences
in class ServerSocket
public void setReceiveBufferSize(int size) throws SocketException
setReceiveBufferSize
in class ServerSocket
SocketException
public void setReuseAddress(boolean on) throws SocketException
setReuseAddress
in class ServerSocket
SocketException
public void setSoTimeout(int timeout) throws SocketException
setSoTimeout
in class ServerSocket
SocketException
public void setUseClientMode(boolean mode)
setUseClientMode
in class SSLServerSocket
public void setWantClientAuth(boolean want)
setWantClientAuth
in class SSLServerSocket
public String toString()
toString
in class ServerSocket
Copyright © 2016. All rights reserved.