private static class PooledPort.WaitEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private RegistryChannel |
channel
the assigned channel
|
private boolean |
dataSet
flag whether result has been set
|
private java.io.IOException |
ioException
the exception to throw
|
Modifier | Constructor and Description |
---|---|
private |
WaitEntry() |
Modifier and Type | Method and Description |
---|---|
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
|
private RegistryChannel channel
private java.io.IOException ioException
private boolean dataSet
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 throwCopyright © 2005-2013 Knipp Medien und Kommunikation GmbH