jtge.engine.io
Class InputStarter

java.lang.Object
  extended byjtge.engine.io.InputStarter
All Implemented Interfaces:
IConnectionObserver, IDisconnectionObserver, ISessionManager

public class InputStarter
extends java.lang.Object
implements ISessionManager

Starts an asynchronous input managing each opened input.

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

Constructor Summary
InputStarter()
           
 
Method Summary
 void close()
          Close the session.
 void closed(IInput input)
          Notify the closing of an input.
 void closed(IOutput output)
          Notify the closing of an output.
 void opened(IInput input, IOutput output)
          Notify the opening of an input and/or output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputStarter

public InputStarter()
Method Detail

opened

public final void opened(IInput input,
                         IOutput output)
Notify the opening of an input and/or output.

Specified by:
opened in interface IConnectionObserver
Parameters:
input - the input or null if none
output - the input or null if none

closed

public final void closed(IInput input)
Notify the closing of an input.

Specified by:
closed in interface IDisconnectionObserver
Parameters:
input - the closed input

closed

public final void closed(IOutput output)
Notify the closing of an output.

Specified by:
closed in interface IDisconnectionObserver
Parameters:
output - the closed output

close

public final void close()
Close the session.

Specified by:
close in interface ISessionManager


Copyright © 2003-2005 . All Rights Reserved.