jtge.engine.security
Class UserInputOutputFactory

java.lang.Object
  extended byjtge.engine.security.UserInputOutputFactory
All Implemented Interfaces:
IInputOutputFactory

public class UserInputOutputFactory
extends java.lang.Object
implements IInputOutputFactory

Provides an input-output factory dealing with user identification.

Version:
$Revision: 1.2 $ $Date: 2005/08/26 18:09:36 $
Author:
Mathieu Champlon

Constructor Summary
UserInputOutputFactory(IConsumer consumer, IDisconnectionObserver observer, IUserManager manager, IInputOutputImpFactory factory)
          Create an input/output factory.
 
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

UserInputOutputFactory

public UserInputOutputFactory(IConsumer consumer,
                              IDisconnectionObserver observer,
                              IUserManager manager,
                              IInputOutputImpFactory factory)
Create an input/output factory.

Parameters:
consumer - the consumer
observer - the observer
manager - the user manager
factory - the input-output implementation factory
Method Detail

create

public final IInput create(java.io.InputStream stream)
Wrap a stream within an input.

Specified by:
create in interface IInputOutputFactory
Parameters:
stream - the input stream to wrap
Returns:
a new input

create

public final IOutput create(java.io.OutputStream stream)
Wrap a stream within an output.

Specified by:
create in interface IInputOutputFactory
Parameters:
stream - the output stream to wrap
Returns:
a new output


Copyright © 2003-2005 . All Rights Reserved.