Package netscape.ldap
Class LDAPSSLSocket
java.lang.Object
java.net.Socket
netscape.ldap.LDAPSSLSocket
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLDAPSSLSocket
(String host, int port, String packageName) LDAPSSLSocket
(String host, int port, String packageName, Object cipherSuites) -
Method Summary
Methods inherited from class java.net.Socket
bind, connect, connect, getChannel, getKeepAlive, getLocalAddress, getLocalSocketAddress, getOOBInline, getOption, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setOption, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, supportedOptions, toString
-
Field Details
-
DEBUG
private static final boolean DEBUG- See Also:
-
socket
-
methodLookup
-
packageName
-
-
Constructor Details
-
LDAPSSLSocket
- Throws:
LDAPException
-
LDAPSSLSocket
public LDAPSSLSocket(String host, int port, String packageName, Object cipherSuites) throws LDAPException - Throws:
LDAPException
-
-
Method Details
-
getInputStream
- Overrides:
getInputStream
in classSocket
-
getOutputStream
- Overrides:
getOutputStream
in classSocket
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classSocket
- Throws:
IOException
-
close
public void close(boolean wait) -
getInetAddress
- Overrides:
getInetAddress
in classSocket
-
getLocalPort
public int getLocalPort()- Overrides:
getLocalPort
in classSocket
-
getPort
public int getPort() -
invokeMethod
- Throws:
LDAPException
-
getMethod
- Throws:
LDAPException
-
printDebug
-