org.opennms.netmgt.poller.monitors
Class HttpsMonitor

java.lang.Object
  extended by org.opennms.netmgt.poller.monitors.IPv4Monitor
      extended by org.opennms.netmgt.poller.monitors.HttpMonitor
          extended by org.opennms.netmgt.poller.monitors.HttpsMonitor
All Implemented Interfaces:
ServiceMonitor

@Distributable
public final class HttpsMonitor
extends HttpMonitor

This class is designed to be used by the service poller framework to test the availability of the HTTPS service on remote interfaces. The class implements the ServiceMonitor interface that allows it to be used along with other plug-ins by the service poller framework.

Version:
$Id: $
Author:
OpenNMS , David Hustace , Tarus Balog , Jason , OpenNMS , David Hustace , Tarus Balog , Jason , OpenNMS , David Hustace , Tarus Balog , Jason , OpenNMS , David Hustace , Tarus Balog , Jason

Constructor Summary
HttpsMonitor()
           
 
Method Summary
protected  int[] determinePorts(Map<String,Object> parameters)
          determinePorts
protected  Socket wrapSocket(Socket socket)
          wrapSocket
 
Methods inherited from class org.opennms.netmgt.poller.monitors.HttpMonitor
poll
 
Methods inherited from class org.opennms.netmgt.poller.monitors.IPv4Monitor
initialize, initialize, log, logDown, logDown, logUp, release, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpsMonitor

public HttpsMonitor()
Method Detail

determinePorts

protected int[] determinePorts(Map<String,Object> parameters)

determinePorts

Overrides:
determinePorts in class HttpMonitor
Parameters:
parameters - a Map object.
Returns:
an array of int.

wrapSocket

protected Socket wrapSocket(Socket socket)
                     throws IOException

wrapSocket

Overrides:
wrapSocket in class HttpMonitor
Parameters:
socket - a Socket object.
Returns:
a Socket object.
Throws:
IOException - if any.


Copyright © 2011. All Rights Reserved.