gnu.mapping
Class RunnableClosure

java.lang.Object
  extended by gnu.mapping.RunnableClosure
All Implemented Interfaces:
java.lang.Runnable

public class RunnableClosure
extends java.lang.Object
implements java.lang.Runnable


Field Summary
 Environment environment
           
 
Constructor Summary
RunnableClosure(Procedure action)
           
RunnableClosure(Procedure action, CallContext parentContext)
           
RunnableClosure(Procedure action, CallContext parentContext, Environment penvironment)
           
RunnableClosure(Procedure action, Environment penvironment, InPort in, OutPort out, OutPort err)
           
 
Method Summary
 CallContext getCallContext()
          Get the CallContext we use for this Thread.
 java.lang.String getName()
           
 void run()
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

environment

public Environment environment
Constructor Detail

RunnableClosure

public RunnableClosure(Procedure action,
                       CallContext parentContext)

RunnableClosure

public RunnableClosure(Procedure action,
                       CallContext parentContext,
                       Environment penvironment)

RunnableClosure

public RunnableClosure(Procedure action,
                       Environment penvironment,
                       InPort in,
                       OutPort out,
                       OutPort err)

RunnableClosure

public RunnableClosure(Procedure action)
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getCallContext

public final CallContext getCallContext()
Get the CallContext we use for this Thread.


run

public void run()
Specified by:
run in interface java.lang.Runnable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object