bees.core
Class NodeHandler
java.lang.Object
|
+--bees.core.resource.CapabilityHandler
|
+--bees.core.NodeHandler
- All Implemented Interfaces:
- edu.utah.janosvm.kit.comm.jsi.JSIHandler
- public final class NodeHandler
- extends CapabilityHandler
Method Summary |
java.lang.Object |
createCapability(edu.utah.janosvm.kit.comm.jsi.JSIMessage jm,
java.lang.String name,
java.lang.String comment)
Abstract method called when the handler needs to create a capability. |
java.lang.Class |
getCapabilityClass()
|
void |
getSuites(edu.utah.janosvm.kit.comm.jsi.JSIMessage jm)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NodeHandler
public NodeHandler()
getCapabilityClass
public java.lang.Class getCapabilityClass()
- Overrides:
getCapabilityClass
in class CapabilityHandler
- Following copied from class:
bees.core.resource.CapabilityHandler
- Returns:
- The Class corresponding to the type of capability constructed
by this handler.
createCapability
public java.lang.Object createCapability(edu.utah.janosvm.kit.comm.jsi.JSIMessage jm,
java.lang.String name,
java.lang.String comment)
throws edu.utah.janos.nodeos.AddressFormatException,
edu.utah.janosvm.kit.comm.jsi.MissingPairException
- Description copied from class:
CapabilityHandler
- Abstract method called when the handler needs to create a capability.
- Overrides:
createCapability
in class CapabilityHandler
- Following copied from class:
bees.core.resource.CapabilityHandler
- Parameters:
jm
- The JSIMessage that contains any creation arguments.name
- The name to use when adding the capability to the kernel
tree.comment
- The comment to be attached to the capability.- Returns:
- The created capability or an ObjectMap if more than one was
created.
- Throws:
java.lang.Throwable
- if anything goes wrong.
getSuites
public void getSuites(edu.utah.janosvm.kit.comm.jsi.JSIMessage jm)
toString
public java.lang.String toString()
- Overrides:
toString
in class CapabilityHandler
- Following copied from class:
bees.core.resource.CapabilityHandler
- 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/