All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.core.FlowHandle
java.lang.Object
   |
   +----edu.utah.janos.core.FlowHandle

  Summary

public final class  FlowHandle
     extends java.lang.Object
{
          // Fields 2
     final Flow flow;
     final Runnable termHandler;

          // Constructors 1
     FlowHandle(Flow, Runnable);

          // Methods 1
     public void destroy();
}

Parent's handle on a child flow. Returned from Flow.newFlow().


  Cross Reference

Returned By:
Flow.newFlow()





  Fields

· flow

Summary  |  Top
   final Flow flow


· termHandler

Summary  |  Top
   final Runnable termHandler


  Constructors

· FlowHandle

Summary  |  Top

   FlowHandle(Flow flow, 
              Runnable termHandler) 

FlowHandles are created implicitly by a call to Flow.newFlow() and returned.



  Methods

· destroy

Summary  |  Top
   public void destroy() 

Destroy the Flow. The termination handler in the parent flow will be invoked.

XXX the existence of this method means that FlowHandle objects must not be made visible to (other) untrusted Flows.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7