|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
void cliEnterLoop()
void cliLeaveLoop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |