|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jtge.engine.handler.AbstractProducer jtge.engine.io.Input
Handles the input logics.
This class acts as the abstraction in the bridge pattern.
Constructor Summary | |
Input(IConsumer consumer,
IDisconnectionObserver observer,
IInputImp input)
Create an input. |
Method Summary | |
void |
close()
Close the input. |
boolean |
isClosed()
Check whether the input is closed or not. |
void |
read()
Read commands. |
Methods inherited from class jtge.engine.handler.AbstractProducer |
forward |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Input(IConsumer consumer, IDisconnectionObserver observer, IInputImp input)
consumer
- the consumer to forward the read commands toobserver
- the observerinput
- the input implementationMethod Detail |
public final void read()
read
in interface IInput
public final void close()
close
in interface IInput
public final boolean isClosed()
isClosed
in interface IInput
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |