Personal tools
You are here: Home Software Kepler SRB Actors Documentation SRB actors how-tos How to create SRB actors
Document Actions

How to create SRB actors

details on how to create SRB actors that conform to the dart srb actor standard!

Below is the process which allows you to create your own SRB actors which use the SRB Server actor to gain access to SRB servers.

  • make a class that extends org.dart.srb.SRBActor. This creates:
    • Parameter: srbServerIDParameter. Which is the parameter for the server id that is to be used.
    • function: getSRBFileSystem(). which returns the instance of edu.sdsc.grid.io.srb.SRBFileSystem for the SRB server
    • function: serverId(). which returns the srbServerIDParameter parameter.
  • done!

org.dart.srb.SRBActor extends ptolemy.actor.TypedAtomicActor so you can continue to build your actor then as if it was extending that class.

Then whenever you need access to an instance of edu.sdsc.grid.io.srb.SRBFileSystem call the getSRBFileSystem() function to retrieve one.



dart@dart.edu.au | DART Project Office, Monash University, Victoria 3800, Australia; Telephone +61 3 9905 4187; Facsimile +61 3 9905 3024