Class AbstractPoll
- java.lang.Object
-
- org.opennms.netmgt.poller.support.AbstractPoll
-
-
Field Summary
Fields Modifier and Type Field Description protected intm_timeout
-
Constructor Summary
Constructors Constructor Description AbstractPoll()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intgetTimeout()Get the timeout in milliseconds.PollStatuspoll()pollabstract PollStatuspoll(TimeoutTracker tracker)pollvoidsetTimeout(int milliseconds)Set the timeout in milliseconds.
-
-
-
Method Detail
-
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
poll
- Parameters:
tracker- aTimeoutTrackerobject.- Returns:
- a
PollStatusobject. - Throws:
org.opennms.netmgt.protocols.InsufficientParametersException- if any.InsufficientParametersException
-
poll
public PollStatus poll() throws InsufficientParametersException
poll
- Specified by:
pollin interfacePoll- Returns:
- a
PollStatusobject. - Throws:
org.opennms.netmgt.protocols.InsufficientParametersException- if any.InsufficientParametersException
-
-