All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.habanero.AddCollobjectAction

java.lang.Object
   |
   +----ncsa.habanero.HabaneroAction
           |
           +----ncsa.habanero.AddCollobjectAction

public class AddCollobjectAction
extends HabaneroAction
This action, executed on a client, creates a new Collobject. It is generated by the server when it receives a NewCollobjectAction and is the mechanism by which new applications are added to the server


Variable Index

 o newListener
 o nextAction
 o parentArbitrator
 o props
 o uniqueName

Constructor Index

 o AddCollobjectAction(Properties, Arbitrator, String, boolean, ComponentAction, String)

Method Index

 o act(Targetable)
 o describe()
 o getCollobName()

Variables

 o parentArbitrator
 protected Arbitrator parentArbitrator
 o newListener
 protected boolean newListener
 o nextAction
 protected ComponentAction nextAction
 o uniqueName
 protected String uniqueName
 o props
 protected Properties props

Constructors

 o AddCollobjectAction
 public AddCollobjectAction(Properties p,
                            Arbitrator arb,
                            String origin,
                            boolean newL,
                            ComponentAction ac,
                            String unik)
Parameters:
collobname - - the name of the object which the new Collobject wraps
arb - - parent Arbitrator of the new Collobject's arbitrator
origin - - the person who requested the collobject
pNum - - port number of the arbitrator the new Collobject's arbitrator connects to
Returns:
Construct the collaboration object action

Methods

 o act
 public void act(Targetable target)
Parameters:
target - what this action will operate on
Returns:
This is the routine that makes the new Collobject and Wrapped objects. A new DistributedArbitrator is created for the Collobject (this might change to allow the clients to determine Arbitrator type) and the Wrapped class is instantiated from its name. Finally, the Collobject is created.
Overrides:
act in class HabaneroAction
 o getCollobName
 public String getCollobName()
 o describe
 public String describe()
Returns:
a string that describes this object
Overrides:
describe in class HabaneroAction

All Packages  Class Hierarchy  This Package  Previous  Next  Index