All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ants.Application

java.lang.Object
   |
   +----ants.Entity
           |
           +----ants.ManagedObject
                   |
                   +----ants.Application

public abstract class Application
extends ManagedObject
implements Runnable
shell of an application of a node


Variable Index

 o defaults
 o port

Constructor Index

 o Application()
 o Application(Manager, String)

Method Index

 o attachNode(Node)
 o getDefaultResources()
 o receive(Capsule)
 o run()
 o send(Capsule)
 o send(Capsule, int)
 o setArgs(KeyArgs)
 o setDefaultResources(int)
 o thisNode()

Variables

 o defaults
 public static final String defaults[]
 o port
 protected short port

Constructors

 o Application
 public Application()
 o Application
 public Application(Manager b,
                    String n)

Methods

 o getDefaultResources
 public int getDefaultResources()
 o setDefaultResources
 public void setDefaultResources(int r)
 o thisNode
 public Node thisNode()
 o send
 public boolean send(Capsule cap,
                     int resources)
 o send
 public boolean send(Capsule cap)
 o receive
 public void receive(Capsule cap)
 o attachNode
 public void attachNode(Node s) throws Exception
 o run
 public void run()
 o setArgs
 public void setArgs(KeyArgs k) throws Exception
Overrides:
setArgs in class Entity

All Packages  Class Hierarchy  This Package  Previous  Next  Index