mess.extensions
Class MessSetReturnValue

java.lang.Object
  |
  +--mess.extensions.MessSetReturnValue
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.


Field Summary
protected  MessAgent nm
           
 
Constructor Summary
MessSetReturnValue(MessAgent nm)
           
 
Method Summary
 Value call(ValueVector vv, Context c)
           
 String getName()
           
protected  void placeKeyVal(Object key, Object val)
          This method is here to that it can be overriden by addReturnValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nm

protected MessAgent nm
Constructor Detail

MessSetReturnValue

public MessSetReturnValue(MessAgent nm)
Method Detail

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