bees.core.kernel
Class CreateBDomainCoroutine
java.lang.Object
|
+--bees.core.Coroutine
|
+--bees.core.ResponderCoroutine
|
+--bees.core.kernel.CreateBDomainCoroutine
- public final class CreateBDomainCoroutine
- extends ResponderCoroutine
Coroutine used to create a new 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 |
Method Summary |
void |
create(BDomainCoroutine sc,
java.lang.String description,
java.lang.String selector,
java.lang.String[] args,
Capability[] capabilities,
PermissionSet transfer)
Create a new domain with the given values. |
void |
create(BDomainCoroutine sc,
java.lang.String description,
java.lang.String selector,
java.lang.String[] args,
java.util.Vector capabilities,
PermissionSet transfer)
Create a new domain with the given values. |
void |
create(edu.utah.janosvm.kit.comm.amiga.FaxPortHandle local,
edu.utah.janosvm.kit.comm.amiga.FaxPortHandle remote,
java.lang.String description,
java.lang.String selector,
java.lang.String[] args,
Capability[] capabilities,
PermissionSet meterSpec)
Create a new domain with the given values. |
void |
create(edu.utah.janosvm.kit.comm.amiga.FaxPortHandle local,
edu.utah.janosvm.kit.comm.amiga.FaxPortHandle remote,
java.lang.String description,
java.lang.String selector,
java.lang.String[] args,
java.util.Vector capabilities,
PermissionSet transfer)
Create a new domain with the given values. |
long |
getStoreID()
|
void |
handle(BeesEvent ae)
Callback used to handle BeesEvents directed to this Coroutine. |
void |
queryStats(edu.utah.janosvm.kit.comm.amiga.FaxPortHandle local,
edu.utah.janosvm.kit.comm.amiga.FaxPortHandle remote)
|
BDomainQueryEvent |
takeQueryEvent()
|
java.lang.String |
toString()
|
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_CREATING
public static final int STATE_CREATING
- State used when the coroutine is waiting for a reply message.
STATE_ALIVE
public static final int STATE_ALIVE
CreateBDomainCoroutine
public CreateBDomainCoroutine()
- Construct an empty CreateBDomainCoroutine.
CreateBDomainCoroutine
public CreateBDomainCoroutine(StateResponder sr)
- Construct an empty CreateBDomainCoroutine.
getStoreID
public long getStoreID()
- Returns:
- The object store identifier that contains the domain's byte array
identifier.
takeQueryEvent
public BDomainQueryEvent takeQueryEvent()
create
public void create(edu.utah.janosvm.kit.comm.amiga.FaxPortHandle local,
edu.utah.janosvm.kit.comm.amiga.FaxPortHandle remote,
java.lang.String description,
java.lang.String selector,
java.lang.String[] args,
Capability[] capabilities,
PermissionSet meterSpec)
- Create a new domain with the given values.
- Parameters:
local
- The local fax port, used as the event's reply port.remote
- The kernel fax port.description
- An opaque string used as the description of the domain.selector
- The domain's main class name.args
- The arguments to the domain's main class.capabilities
- The boot capabilities, needed to get the domain
started.
create
public void create(edu.utah.janosvm.kit.comm.amiga.FaxPortHandle local,
edu.utah.janosvm.kit.comm.amiga.FaxPortHandle remote,
java.lang.String description,
java.lang.String selector,
java.lang.String[] args,
java.util.Vector capabilities,
PermissionSet transfer)
- Create a new domain with the given values.
- Parameters:
local
- The local fax port, used as the event's reply port.remote
- The kernel fax port.description
- An opaque string used as the description of the domain.selector
- The domain's main class name.args
- The arguments to the domain's main class.capabilities
- The boot capabilities, needed to get the domain
started.
create
public void create(BDomainCoroutine sc,
java.lang.String description,
java.lang.String selector,
java.lang.String[] args,
java.util.Vector capabilities,
PermissionSet transfer)
- Create a new domain with the given values.
- Parameters:
sc
- The current domain's coroutine.description
- An opaque string used as the description of the domain.selector
- The domain's main class name.args
- The arguments to the domain's main class.capabilities
- The boot capabilities, needed to get the domain
started.
create
public void create(BDomainCoroutine sc,
java.lang.String description,
java.lang.String selector,
java.lang.String[] args,
Capability[] capabilities,
PermissionSet transfer)
- Create a new domain with the given values.
- Parameters:
local
- The local fax port, used as the event's reply port.remote
- The kernel fax port.description
- An opaque string used as the description of the domain.selector
- The domain's main class name.args
- The arguments to the domain's main class.capabilities
- The boot capabilities, needed to get the domain
started.
queryStats
public void queryStats(edu.utah.janosvm.kit.comm.amiga.FaxPortHandle local,
edu.utah.janosvm.kit.comm.amiga.FaxPortHandle remote)
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/