bees.core
Class Application
java.lang.Object
|
+--bees.core.Application
- Direct Known Subclasses:
- Authenticator, DiscoveryApplication, FlowBuilder, FlowDumper, LivenessApplication, MaterialBuilder
- public abstract class Application
- extends java.lang.Object
Base class for Bees applications. A Bees application executes in the same
JVM as the locally installed or downloaded protocols and is able to directly
interact with them. Of course, the major difference between an application
and a protocol is that the application cannot be downloaded to other nodes.
Currently, applications execute in a far less restricted environment than
protocols. For example, there are no limitations on the classes they can
access and they are not forced to prepend an identifier onto any
cryptographic signatures they generate.
- See Also:
Signature
,
SystemClass
Method Summary |
abstract void |
start(Node node,
java.lang.String[] args)
Method called to set the application in motion. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Application
public Application()
start
public abstract void start(Node node,
java.lang.String[] args)
throws java.lang.Throwable
- Method called to set the application in motion.
- Parameters:
node
- The node object for this nodeos domain.args
- The arguments to the application.- Throws:
java.lang.Throwable
- If anything goes wrong.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- 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/