Modifier and Type | Field and Description |
---|---|
protected int |
m_timeout |
Constructor and Description |
---|
AbstractPoll() |
Modifier and Type | Method and Description |
---|---|
int |
getTimeout()
Get the timeout in milliseconds.
|
PollStatus |
poll()
poll
|
abstract PollStatus |
poll(TimeoutTracker tracker)
poll
|
void |
setTimeout(int milliseconds)
Set the timeout in milliseconds.
|
public void setTimeout(int milliseconds)
milliseconds
- the timeoutpublic int getTimeout()
public abstract PollStatus poll(TimeoutTracker tracker) throws InsufficientParametersException
poll
tracker
- a TimeoutTracker
object.PollStatus
object.InsufficientParametersException
- if any.public PollStatus poll() throws InsufficientParametersException
poll
poll
in interface Poll
PollStatus
object.InsufficientParametersException
- if any.Copyright © 2021. All rights reserved.