Bees v0.5.0 API

bees.core
Class InheritedCapabilityCoroutine

java.lang.Object
  |
  +--bees.core.Coroutine
        |
        +--bees.core.ResponderCoroutine
              |
              +--bees.core.InheritedCapabilityCoroutine

public final class InheritedCapabilityCoroutine
extends ResponderCoroutine

Coroutine used to pass capabilities to a BDomain.


Field Summary
static int STATE_WAITING
           
 
Fields inherited from class bees.core.Coroutine
DEFAULT_TIMEOUT, INVALID_ID, STATE_ANY, STATE_COMPLETE, STATE_ERROR, STATE_ERROR_CAGED, STATE_ERROR_INTERNAL, STATE_ERROR_TIMEOUT, STATE_ERROR_USER, STATE_NEWBORN, STATE_USER
 
Constructor Summary
InheritedCapabilityCoroutine()
           
InheritedCapabilityCoroutine(StateResponder sr)
           
 
Method Summary
 void handle(BeesEvent ae)
          Callback used to handle BeesEvents directed to this Coroutine.
 void initial(EventChannel ec, CapabilityEnvelope[] ce)
           
 void initial(EventChannel ec, java.util.Vector vec)
           
 java.lang.String toString()
           
 
Methods inherited from class bees.core.ResponderCoroutine
getResponder, setState
 
Methods inherited from class bees.core.Coroutine
cleanup, drop, finalize, getCoroutine, getID, getState, getThrowable, setThrowable, waitForCompletion, waitForCompletion, waitForState, waitForState
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STATE_WAITING

public static final int STATE_WAITING
Constructor Detail

InheritedCapabilityCoroutine

public InheritedCapabilityCoroutine(StateResponder sr)

InheritedCapabilityCoroutine

public InheritedCapabilityCoroutine()
Method Detail

initial

public void initial(EventChannel ec,
                    CapabilityEnvelope[] ce)

initial

public void initial(EventChannel ec,
                    java.util.Vector vec)

handle

public void handle(BeesEvent ae)
Description copied from class: Coroutine
Callback used to handle BeesEvents directed to this Coroutine.
Overrides:
handle in class Coroutine
Following copied from class: bees.core.Coroutine
Parameters:
ae - The BeesEvent to handle.

toString

public java.lang.String toString()
Overrides:
toString in class ResponderCoroutine
Following copied from class: bees.core.ResponderCoroutine
See Also:
Object.toString()

Bees v0.5.0 API

This documentation is Copyright (C) 2002 The University of Utah. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for Bees v0.5.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/