Bees v0.5.0 API

bees.core
Class RemoteFlowCoroutine

java.lang.Object
  |
  +--bees.core.Coroutine
        |
        +--bees.core.RemoteFlowCoroutine

public final class RemoteFlowCoroutine
extends Coroutine


Field Summary
static int STATE_DOWNLOADING
           
static int STATE_PREPARE_TO_DOWNLOAD
           
 
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
RemoteFlowCoroutine()
           
RemoteFlowCoroutine(EventChannel ec)
           
 
Method Summary
 void downloadFlow(byte[] flowDesc)
           
 void downloadFlow(PairChain pc)
           
 void handle(BeesEvent ae)
          Callback used to handle BeesEvents directed to this Coroutine.
 java.lang.String toString()
           
 
Methods inherited from class bees.core.Coroutine
cleanup, drop, finalize, getCoroutine, getID, getState, getThrowable, setState, setThrowable, waitForCompletion, waitForCompletion, waitForState, waitForState
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STATE_PREPARE_TO_DOWNLOAD

public static final int STATE_PREPARE_TO_DOWNLOAD

STATE_DOWNLOADING

public static final int STATE_DOWNLOADING
Constructor Detail

RemoteFlowCoroutine

public RemoteFlowCoroutine(EventChannel ec)

RemoteFlowCoroutine

public RemoteFlowCoroutine()
Method Detail

downloadFlow

public void downloadFlow(byte[] flowDesc)

downloadFlow

public void downloadFlow(PairChain pc)

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 Coroutine
Following copied from class: bees.core.Coroutine
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/