bees.core.kernel
Class BDomainCoroutine
java.lang.Object
|
+--bees.core.Coroutine
|
+--bees.core.ResponderCoroutine
|
+--bees.core.kernel.BDomainCoroutine
- public final class BDomainCoroutine
- extends ResponderCoroutine
The kernel object that refers to the actual domain.
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 |
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 |
STATE_CREATED
public static final int STATE_CREATED
STATE_CONNECTING
public static final int STATE_CONNECTING
STATE_CONNECTED
public static final int STATE_CONNECTED
BDomainCoroutine
public BDomainCoroutine()
- Construct an empty BDomainCoroutine.
getBDomainIdentifier
public BDomainIdentifier getBDomainIdentifier()
- Returns:
- The unique identifier of the domain.
getPortPair
public PortPair getPortPair()
setLocalPort
public void setLocalPort(edu.utah.janosvm.kit.comm.amiga.FaxPort port)
getLocalPort
public edu.utah.janosvm.kit.comm.amiga.FaxPortHandle getLocalPort()
setRemotePort
public void setRemotePort(edu.utah.janosvm.kit.comm.amiga.FaxPortHandle port)
getRemotePort
public edu.utah.janosvm.kit.comm.amiga.FaxPortHandle getRemotePort()
setPeerID
public void setPeerID(long peerID)
getPeerID
public long getPeerID()
getStoreID
public long getStoreID()
addResponder
public void addResponder(StateResponder sr)
setState
protected void setState(int newState)
- Description copied from class:
Coroutine
- Set the state of the Coroutine and notify any waiting threads. If the
new state value is less than the current state it is ignored. If the
new state value is an error or STATE_COMPLETE the Coroutine is disabled.
- Overrides:
setState
in class ResponderCoroutine
- Following copied from class:
bees.core.ResponderCoroutine
- See Also:
Coroutine.setState(int)
fillEvent
public void fillEvent(BDomainQueryEvent aqe)
initKernel
public void initKernel(edu.utah.janosvm.kit.comm.amiga.FaxPort fp)
connectToKernel
public void connectToKernel(edu.utah.janosvm.kit.comm.amiga.FaxPort localPort,
edu.utah.janosvm.kit.comm.commspace.CommSpaceHandle csh)
shutdown
public void shutdown()
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()
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/