|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jtge.engine.io.InputOutputFactory
Implements an input-output factory.
Constructor Summary | |
InputOutputFactory(IConsumer consumer,
IDisconnectionObserver observer,
IInputOutputImpFactory factory)
Create a factory for inputs and outputs. |
Method Summary | |
IInput |
create(java.io.InputStream stream)
Wrap a stream within an input. |
IOutput |
create(java.io.OutputStream stream)
Wrap a stream within an output. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InputOutputFactory(IConsumer consumer, IDisconnectionObserver observer, IInputOutputImpFactory factory)
consumer
- the consumer to send read commands toobserver
- the disconnection observerfactory
- the input-output implementation factoryMethod Detail |
public final IInput create(java.io.InputStream stream)
create
in interface IInputOutputFactory
stream
- the input stream to wrap
public final IOutput create(java.io.OutputStream stream)
create
in interface IInputOutputFactory
stream
- the output stream to wrap
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |