|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jtge.engine.io.ObjectInput
Provides an input implementation based on object serialization.
Constructor Summary | |
ObjectInput(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 ObjectInput(java.io.InputStream stream)
stream
- the stream to read data fromMethod 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 IInputImp
public final void close()
close
in interface IInputImp
public final boolean isClosed()
isClosed
in interface IInputImp
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |