mess.extensions
Class MessAddSpy

java.lang.Object
  |
  +--mess.extensions.MessAddSpy

public class MessAddSpy
extends Object
implements Userfunction

This user function allows mess scripts to subscribe to notifications from the notifier. AddSpy takes one argument -- the name of the notification type you want to subscribe to.


Constructor Summary
MessAddSpy(MessAgent nm)
           
 
Method Summary
 Value call(ValueVector vv, Context c)
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessAddSpy

public MessAddSpy(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