|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.knipp.rritoolkit.PooledPort.WaitEntry
private static class PooledPort.WaitEntry
class that describes a waiting thread
Field Summary | |
---|---|
private RegistryChannel |
channel
the assigned channel |
private boolean |
dataSet
flag whether result has been set |
private java.io.IOException |
ioException
the exception to throw |
Constructor Summary | |
---|---|
private |
PooledPort.WaitEntry()
|
Method Summary | |
---|---|
RegistryChannel |
waitForChannel()
wait for a connection |
void |
wakeUp(java.io.IOException exception)
wake up the waiting thread, causing it to throw the given exception |
void |
wakeUp(RegistryChannel theChannel)
wake up the waiting thread, giving it the specified channel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private RegistryChannel channel
private java.io.IOException ioException
private boolean dataSet
Constructor Detail |
---|
private PooledPort.WaitEntry()
Method Detail |
---|
public RegistryChannel waitForChannel() throws java.io.IOException
java.io.IOException
- if the channel could not be assignedpublic void wakeUp(RegistryChannel theChannel)
theChannel
- the channelpublic void wakeUp(java.io.IOException exception)
exception
- the exception to throw
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |