vscript.interpreter
Class EventTagManager

java.lang.Object
  |
  +--vscript.interpreter.EventTagManager

public class EventTagManager
extends java.lang.Object

EventTagManager object is provided to all Messagable objects and is used to handle the Event tags and for sending messages.Messageable objects can keep the referencte to EventTagManager in order to generete events.


Constructor Summary
EventTagManager(vscript.message.MessageNode messageNode)
           
EventTagManager(vscript.VScriptRunner vsr, vscript.message.MessageNode messageNode)
           
 
Method Summary
 void deliverMessage(java.lang.String strMessage)
          Delivers the message to the specified destination.
 boolean processEvent(java.lang.String eventName)
          Process the event tag handling a specific event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventTagManager

public EventTagManager(vscript.message.MessageNode messageNode)

EventTagManager

public EventTagManager(vscript.VScriptRunner vsr,
                       vscript.message.MessageNode messageNode)
Method Detail

deliverMessage

public void deliverMessage(java.lang.String strMessage)
Delivers the message to the specified destination. Message should have valid format.

Parameters:
strMessage - The message to be delivered in the appropriate format.

processEvent

public boolean processEvent(java.lang.String eventName)
Process the event tag handling a specific event.

Parameters:
eventName - The name of the event that is to be generated.