org.opennms.netmgt.protocols.ssh
Class Poll

java.lang.Object
  extended by org.opennms.netmgt.protocols.ssh.Ssh
      extended by org.opennms.netmgt.protocols.ssh.Poll
All Implemented Interfaces:
Poll

public class Poll
extends Ssh
implements Poll


Field Summary
 
Fields inherited from class org.opennms.netmgt.protocols.ssh.Ssh
DEFAULT_PORT, DEFAULT_TIMEOUT
 
Constructor Summary
Poll()
           
Poll(InetAddress address)
           
Poll(InetAddress address, int port)
           
Poll(InetAddress address, int port, int timeout)
           
 
Method Summary
 org.opennms.netmgt.model.PollStatus poll()
          Poll based on the configuration provided by the implementation
 org.opennms.netmgt.model.PollStatus poll(TimeoutTracker tracker)
           
 
Methods inherited from class org.opennms.netmgt.protocols.ssh.Ssh
connect, getAddress, getError, getKeyDirectory, getPassword, getPort, getServerVersion, getSession, getTimeout, getUsername, setAddress, setKeyDirectory, setPassword, setPort, setTimeout, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Poll

public Poll()

Poll

public Poll(InetAddress address)

Poll

public Poll(InetAddress address,
            int port)

Poll

public Poll(InetAddress address,
            int port,
            int timeout)
Method Detail

poll

public org.opennms.netmgt.model.PollStatus poll(TimeoutTracker tracker)
                                         throws InsufficientParametersException
Throws:
InsufficientParametersException

poll

public org.opennms.netmgt.model.PollStatus poll()
                                         throws InsufficientParametersException
Description copied from interface: Poll
Poll based on the configuration provided by the implementation

Specified by:
poll in interface Poll
Returns:
a PollStatus status object
Throws:
InsufficientParametersException


Copyright ? 2007. All Rights Reserved.