mess.extensions
Class MessSetReturnValue
java.lang.Object
|
+--mess.extensions.MessSetReturnValue
- All Implemented Interfaces:
- Userfunction
- Direct Known Subclasses:
- MessAddReturnValue
- public class MessSetReturnValue
- extends Object
- implements Userfunction
This user function allows a mess program to set a return
value. This return value will be returned to the external caller if
the engine was started using MessAgent's run() method.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nm
protected MessAgent nm
MessSetReturnValue
public MessSetReturnValue(MessAgent nm)
getName
public String getName()
- Specified by:
getName
in interface Userfunction
call
public Value call(ValueVector vv,
Context c)
throws JessException
- Specified by:
call
in interface Userfunction
placeKeyVal
protected void placeKeyVal(Object key,
Object val)
- This method is here to that it can be overriden by
addReturnValue
- See Also:
MessAddReturnValue