Class SSLClient
- java.lang.Object
-
- org.opennms.netmgt.provision.detector.simple.client.MultilineOrientedClient
-
- org.opennms.netmgt.provision.detector.simple.client.SSLClient
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,Client<LineOrientedRequest,MultilineOrientedResponse>
public class SSLClient extends MultilineOrientedClient implements Client<LineOrientedRequest,MultilineOrientedResponse>
SSLClient class.
- Version:
- $Id: $
- Author:
- thedesloge
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.provision.detector.simple.client.MultilineOrientedClient
m_socket
-
-
Constructor Summary
Constructors Constructor Description SSLClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connect(java.net.InetAddress address, int port, int timeout)
connectprotected java.net.Socket
getWrappedSocket(java.net.InetAddress address, int port, int timeout)
getWrappedSocket-
Methods inherited from class org.opennms.netmgt.provision.detector.simple.client.MultilineOrientedClient
close, getInput, getOutput, receiveBanner, sendRequest, setInput, setOutput
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.provision.support.Client
close, receiveBanner, sendRequest
-
-
-
-
Method Detail
-
connect
public void connect(java.net.InetAddress address, int port, int timeout) throws java.io.IOException
connect
- Specified by:
connect
in interfaceClient<LineOrientedRequest,MultilineOrientedResponse>
- Overrides:
connect
in classMultilineOrientedClient
- Parameters:
address
- aInetAddress
object.port
- a int.timeout
- a int.- Throws:
java.io.IOException
- if any.
-
getWrappedSocket
protected java.net.Socket getWrappedSocket(java.net.InetAddress address, int port, int timeout) throws java.io.IOException
getWrappedSocket
- Parameters:
address
- aInetAddress
object.port
- a int.timeout
- a int.- Returns:
- a
Socket
object. - Throws:
java.io.IOException
- if any.
-
-