The Meta-Environment API

toolbus.atom.msg
Class RecMsg

java.lang.Object
  extended by toolbus.process.ProcessExpression
      extended by toolbus.atom.Atom
          extended by toolbus.atom.msg.MsgAtom
              extended by toolbus.atom.msg.RecMsg
All Implemented Interfaces:
StateElement

public class RecMsg
extends MsgAtom

Author:
paulk, Aug 3, 2002

Field Summary
 
Fields inherited from class toolbus.atom.msg.MsgAtom
msg
 
Fields inherited from class toolbus.atom.Atom
externalNameAsReceivedByTool
 
Fields inherited from class toolbus.process.ProcessExpression
posInfo, tbfactory
 
Constructor Summary
RecMsg(aterm.ATerm msg, TBTermFactory tbfactory, PositionInformation posInfo)
           
 
Method Summary
 void compile(ProcessInstance pi, java.util.Stack<java.lang.String> calls, State follow)
           
 ProcessExpression copy()
           
 void destroy()
           
 boolean execute()
          Execute this StateElement
 void registerPartners()
           
 
Methods inherited from class toolbus.atom.Atom
activate, computeFirst, contains, copyAtomAttributes, debugExecute, getAtomArgValue, getAtoms, getDelay, getEnv, getProcess, getTests, getTimeout, getToolBus, gotoNextStateAndActivate, gotoNextStateAndActivate, isEnabled, replaceFormals, setAbsoluteDelay, setAbsoluteTimeout, setAtomArgs, setDelay, setEnv, setTest, setTimeout, toATerm, toString
 
Methods inherited from class toolbus.process.ProcessExpression
addToFirst, addToFollow, getFirst, getFollow, getPosInfo, setFirst, setFollow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface toolbus.StateElement
getFollow, getPosInfo
 

Constructor Detail

RecMsg

public RecMsg(aterm.ATerm msg,
              TBTermFactory tbfactory,
              PositionInformation posInfo)
Method Detail

copy

public ProcessExpression copy()
Specified by:
copy in class ProcessExpression

compile

public void compile(ProcessInstance pi,
                    java.util.Stack<java.lang.String> calls,
                    State follow)
             throws ToolBusException
Overrides:
compile in class Atom
Throws:
ToolBusException

registerPartners

public void registerPartners()

destroy

public void destroy()
Overrides:
destroy in class Atom

execute

public boolean execute()
Description copied from interface: StateElement
Execute this StateElement

Returns:
true if execution was completed.

The Meta-Environment API