All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ninja.activeproxy.path.SDSOperator

java.lang.Object
   |
   +----ninja.rmi.NinjaRemoteObject
           |
           +----ninja.ispace.iSpaceService
                   |
                   +----ninja.activeproxy.path.SDSOperator

public abstract class SDSOperator
extends iSpaceService
implements SDSOperatorIF, SDSinsecureServiceIF
SDSOperator is the base class which Operators should implement. They're left with 3 routines to write: GetServiceDescriptor -- Return XML description of service to store in SDS run() - start running the operator stop() - stop running the operator All other methods are implemented with basic functionality as described herein


Variable Index

 o descr
 o running
 o serviceName
 o xmlData

Constructor Index

 o SDSOperator()

Method Index

 o destroy()
 o getDescription()
This routine creates a service description for this service, and return its byte array.
 o init(iSpaceServiceConfig)
The init method required by the iSpace generate a valid insecure service descriptor based on serviceName field

Variables

 o descr
 protected ServiceDescription descr
 o serviceName
 protected String serviceName
 o xmlData
 protected String xmlData
 o running
 protected boolean running

Constructors

 o SDSOperator
 public SDSOperator() throws RemoteException

Methods

 o init
 protected void init(iSpaceServiceConfig config)
The init method required by the iSpace generate a valid insecure service descriptor based on serviceName field

Overrides:
init in class iSpaceService
 o destroy
 protected void destroy()
Overrides:
destroy in class iSpaceService
 o getDescription
 public byte[] getDescription()
This routine creates a service description for this service, and return its byte array.

Returns:
Service description

All Packages  Class Hierarchy  This Package  Previous  Next  Index