org.opennms.netmgt.protocols
Class AbstractPoll
java.lang.Object
org.opennms.netmgt.protocols.AbstractPoll
- All Implemented Interfaces:
- Poll
- Direct Known Subclasses:
- Ssh
public abstract class AbstractPoll
- extends Object
- implements Poll
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_timeout
protected int m_timeout
AbstractPoll
public AbstractPoll()
setTimeout
public void setTimeout(int milliseconds)
- Set the timeout in milliseconds.
- Parameters:
milliseconds - the timeout
getTimeout
public int getTimeout()
- Get the timeout in milliseconds.
- Returns:
- the timeout
poll
public abstract PollStatus poll(TimeoutTracker tracker)
throws InsufficientParametersException
- Throws:
InsufficientParametersException
poll
public 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 © 2009. All Rights Reserved.