|
" 2013 FRC Java API " |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.squawk.platform.SystemEvents
public abstract class SystemEvents
| Field Summary | |
|---|---|
protected long |
max_wait
|
protected TaskExecutor |
selectRunner
|
| Constructor Summary | |
|---|---|
protected |
SystemEvents()
|
| Method Summary | |
|---|---|
void |
cancelIOHandler()
Call to end the run() method. |
void |
run()
IOHandler run loop. |
void |
setMaxWait(long max)
Set the maximum time that the system will wait in select |
void |
startIO()
Start |
protected abstract void |
waitForEvents(long timout)
Wait for an OS event, with a timeout. |
abstract void |
waitForReadEvent(int fd)
|
abstract void |
waitForWriteEvent(int fd)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TaskExecutor selectRunner
protected long max_wait
| Constructor Detail |
|---|
protected SystemEvents()
| Method Detail |
|---|
protected abstract void waitForEvents(long timout)
timout - in mspublic abstract void waitForReadEvent(int fd)
public abstract void waitForWriteEvent(int fd)
public void startIO()
public void run()
run in interface RunnableThread.run()public void cancelIOHandler()
public void setMaxWait(long max)
max - max wait time in ms. Must be > 0.
|
" 2013 FRC Java API " |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||