org.nees.util.sessions
Interface Filter

All Known Implementing Classes:
FilterSession, NMDSRemoteFilter

public interface Filter

Implement this to pre- and post-process commands and results.

See Also:
FilterSession, FilterInterpreter

Method Summary
 Result[] postProcess(Result[] r)
          Implement this method to post-process results after commands are executed.
 Command[] preProcess(Command[] c)
          Implement this method to pre-process commands before they are executed.
 

Method Detail

preProcess

public Command[] preProcess(Command[] c)
Implement this method to pre-process commands before they are executed.

Parameters:
c - the commands to pre-process
Returns:
the pre-processed commands

postProcess

public Result[] postProcess(Result[] r)
Implement this method to post-process results after commands are executed.

Parameters:
r - the results to post-process
Returns:
the post-processed results