|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines an input implementation.
This interface acts as the implementor in the bridge pattern.
Implementation classes must be thread-safe.
Input| Method Summary | |
void |
close()
Close the input if needed. |
boolean |
isClosed()
Check whether the input is closed or not. |
ICommand |
read()
Read one command. |
| Method Detail |
public ICommand read()
This method should block until the reading is done.
The input must be closed when the method returns null.
public void close()
public boolean isClosed()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||