asg.cliche
Interface ShellManageable

All Known Implementing Classes:
ConsoleIO

public interface ShellManageable

This interface is for classes that want to be aware of entering and leaving each command loop. You might want some special resources to be allocated before CLI starts; after conversation you want to free those resources. By implementing this interface you get the ability to handle these events. Note that since Shell can possibly have other means of operation instead of commandLoop(), these methods may be not called.


Method Summary
 void cliEnterLoop()
          This method is called when it is about to enter the command loop.
 void cliLeaveLoop()
          This method is called when Shell is leaving the command loop.
 

Method Detail

cliEnterLoop

void cliEnterLoop()
This method is called when it is about to enter the command loop.


cliLeaveLoop

void cliLeaveLoop()
This method is called when Shell is leaving the command loop.