org.opennms.netmgt.provision.detector.simple.client
Class SSLClient

java.lang.Object
  extended by org.opennms.netmgt.provision.detector.simple.client.MultilineOrientedClient
      extended by org.opennms.netmgt.provision.detector.simple.client.SSLClient
All Implemented Interfaces:
Client<LineOrientedRequest,MultilineOrientedResponse>

public class SSLClient
extends MultilineOrientedClient
implements Client<LineOrientedRequest,MultilineOrientedResponse>

Author:
thedesloge

Field Summary
 
Fields inherited from class org.opennms.netmgt.provision.detector.simple.client.MultilineOrientedClient
m_socket
 
Constructor Summary
SSLClient()
           
 
Method Summary
 void connect(InetAddress address, int port, int timeout)
           
protected  Socket getWrappedSocket(InetAddress address, int port, int timeout)
           
protected  Socket wrapSocket(Socket socket, String hostAddress, int port)
           
 
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
 

Constructor Detail

SSLClient

public SSLClient()
Method Detail

connect

public void connect(InetAddress address,
                    int port,
                    int timeout)
             throws IOException
Specified by:
connect in interface Client<LineOrientedRequest,MultilineOrientedResponse>
Overrides:
connect in class MultilineOrientedClient
Throws:
IOException

getWrappedSocket

protected Socket getWrappedSocket(InetAddress address,
                                  int port,
                                  int timeout)
                           throws IOException
Throws:
IOException

wrapSocket

protected Socket wrapSocket(Socket socket,
                            String hostAddress,
                            int port)
                     throws Exception
Throws:
Exception


Copyright © 2009. All Rights Reserved.