|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttcl.lang.cmd.InterpSlaveCmd
public class InterpSlaveCmd
This class implements the slave interpreter commands, which are created in response to the built-in "interp create" command in Tcl. It is also used by the "interp" command to record and find information about slave interpreters. Maps from a command name in the master to information about a slave interpreter, e.g. what aliases are defined in it.
| Constructor Summary | |
|---|---|
InterpSlaveCmd()
|
|
| Method Summary | |
|---|---|
void |
cmdProc(Interp interp,
TclObject[] objv)
Command to manipulate an interpreter, e.g. |
void |
disposeAssocData(Interp interp)
Invoked when an interpreter is being deleted. |
void |
disposeCmd()
---------------------------------------------------------------------- disposeCmd -- Invoked when an object command for a slave interpreter is deleted; cleans up all state associated with the slave interpreter and destroys the slave interpreter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InterpSlaveCmd()
| Method Detail |
|---|
public void cmdProc(Interp interp,
TclObject[] objv)
throws TclException
cmdProc in interface Commandinterp - The interpreter for setting the results and which contains the
contextobjv - the argument list for the command; objv[0[ is the command name
itself
TclException - on any errorspublic void disposeCmd()
disposeCmd in interface CommandWithDisposepublic void disposeAssocData(Interp interp)
disposeAssocData in interface AssocDatainterp - the interpreter in which this AssocData instance is registered in
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||