jtge.engine.io
Interface IOutputImp

All Known Implementing Classes:
ObjectOutput, XStreamOutput

public interface IOutputImp

Defines an output implementation.

This interface acts as the implementor in the bridge pattern.

Implementation classes must be thread-safe.

Version:
$Revision: 1.4 $ $Date: 2005/09/10 11:26:47 $
Author:
Mathieu Champlon
See Also:
Output

Method Summary
 void close()
          Close the input if needed.
 boolean isClosed()
          Check whether the output is closed or not.
 void write(ICommand command)
          Write one command.
 

Method Detail

write

public void write(ICommand command)
Write one command.

Parameters:
command - the command to write

close

public void close()
Close the input if needed.


isClosed

public boolean isClosed()
Check whether the output is closed or not.

Returns:
current close status.


Copyright © 2003-2005 . All Rights Reserved.