|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjtge.engine.io.XStreamInput
Implements an input implementation based on the XStream library.
| Constructor Summary | |
XStreamInput(java.io.InputStream stream)
Create an 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.
This method should block until the reading is done. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XStreamInput(java.io.InputStream stream)
stream - the stream to read data from| Method Detail |
public final ICommand read()
This method should block until the reading is done.
The input must be closed when the method returns null.
read in interface IInputImppublic final void close()
close in interface IInputImppublic final boolean isClosed()
isClosed in interface IInputImp
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||