Uses of Class
net.ponder2.objects.P2Object

Packages that use P2Object
net.ponder2   
net.ponder2.comms   
net.ponder2.inspector   
net.ponder2.managedobject   
net.ponder2.mission   
net.ponder2.objects   
net.ponder2.parser   
net.ponder2.policy   
 

Uses of P2Object in net.ponder2
 

Subclasses of P2Object in net.ponder2
 class P2ObjectAdaptor
          An object adaptor manages the interface between the ponder2 system and the actual managed object itself
 

Fields in net.ponder2 declared as P2Object
static P2Object SelfManagedCell.RootDomain
           
 

Fields in net.ponder2 with type parameters of type P2Object
static java.util.Map<java.lang.String,P2Object> SelfManagedCell.startupArgs
           
 

Methods in net.ponder2 that return P2Object
protected  P2Object SelfManagedCell.argsAsArray()
          answers with an array containing all the user supplied arguments to the SMC.
protected  P2Object SelfManagedCell.argsAsHash()
          answers with a hash containing the user supplied arguments to the SMC.
 P2Object P2ObjectAdaptor.CreateOrStaticOperation.call(P2ObjectAdaptor adaptor, P2Object source, java.lang.String operation, P2Object... args)
           
abstract  P2Object P2ObjectAdaptor.InstanceOperation.call(P2Object thisobj, ManagedObject obj, P2Object source, java.lang.String operation, P2Object... args)
          calls an operation in a managed object
abstract  P2Object P2ObjectAdaptor.StaticOperation.call(P2Object source, java.lang.String operation, P2Object... args)
          maps an operation to a static method
 P2Object Ponder2Message.create(P2Object source, java.lang.String operation, P2Object... args)
           
 P2Object P2ObjectAdaptor.create(P2Object source, java.lang.String operation, P2Object... args)
          called as a result of an operation on the factory managed object for this managed object
 P2Object P2ManagedObject.create(P2Object source, java.lang.String operation, P2Object... args)
           
protected  P2Object SelfManagedCell.execute(P2Object source, P2Block aBlock)
          Executes aBlock with no arguments.
protected  P2Object SelfManagedCell.executeArgs(P2Object source, P2Block aBlock, P2Array anArray)
          Executes aBlock with anArray of arguments.
protected  P2Object SelfManagedCell.executeHash(P2Object source, P2Block aBlock, P2Hash aHash)
          Executes aBlock with the values of its arguments being taken by name from aHash.
 P2Object PonderTalk.executePonderTalk(java.lang.String aPonderTalkString)
          Compiles and executes aPonderTalkString and returns the result.
 P2Object P2ManagedObject.getP2Object()
          gets the object identifier for this object
 P2Object OID.getP2Object()
          returns the actual managed object associated with this OID
static P2Object Util.getRemoteObject(java.lang.String name, java.lang.String location)
          Imports a remote Managed Object from another SMC using the protocol defined in the URI
static P2Object Util.loadFactory(java.lang.String name)
          loads Managed Object code into this VM and returns a Ponder2 factory object
protected  P2Object ExternalManagedObject.obj_operation(P2Object source, java.lang.String op, P2Object... args)
          All operations are sent to the external Managed Object.
protected  P2Object Domain.operation_at_add(java.lang.String aName, P2Object p2Object)
          add anOid into the domain with aName.
protected  P2Object Domain.operation_at(P2Object source, java.lang.String aName, P2Block aBlock)
          Answer the P2Object associated with aName.
protected  P2Object Domain.operation_at(java.lang.String aName)
          answers the P2Object of the Managed Object at aName.
protected  P2Object FactoryObject.operation_create(P2Object source, java.lang.String op, P2Object... args)
          all messages are sent to the Managed Object being created.
protected  P2Object SelfManagedCell.operation_import_from(java.lang.String aName, java.lang.String aLocation)
          Answers the remote managed object which has aName belonging to an SMC at aLocation.
protected  P2Object Domain.operation_listNames()
          answers an array containing the names of all the domain's entries.
protected  P2Object Domain.operation_listObjects()
          answers an array of Managed Object names containing all the entries in the domain.
protected  P2Object SelfManagedCell.operation_load(java.lang.String anObject)
          Loads the code necessary for creating an instance of anObject.
protected  P2Object Domain.operation_remove(java.lang.String aName)
          Removes aName and its ManagedObject from the domain.
protected  P2Object Domain.operation_resolve(java.lang.String aPath)
          Answers with the object from aPath relative to this domain
 P2Object Ponder2Message.operation(P2Object source, java.lang.String operation, P2Object... args)
           
 P2Object P2ObjectAdaptor.operation(P2Object source, java.lang.String operation, P2Object... args)
          called as a result of an operation on the instantiated managed object
 P2Object P2ManagedObject.operation(P2Object source, java.lang.String operation, P2Object... args)
           
 P2Object Ponder2Message.operation(P2Object source, java.lang.String operation, java.lang.String arg1, java.lang.String... args)
           
 P2Object P2ManagedObject.operation(P2Object source, java.lang.String operation, java.lang.String arg1, java.lang.String... args)
           
 P2Object SelfManagedCell.readString(P2Object source, java.lang.String aPonderTalkString)
          Reads and executes PonderTalk from aPonderTalkString.
 P2Object SelfManagedCell.readString(P2Object source, java.lang.String aPonderTalkString, P2Hash varHash)
          Reads and executes PonderTalk from aPonderTalkString.
 P2Object P2ObjectAdaptor.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
 P2Object OID.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
static P2Object Util.resolve(P2ManagedObject dom, Path path)
          resolves a pathname of a managed object into an OID
static P2Object Util.resolve(P2Object dom, Path path)
           
static P2Object Util.resolve(P2Object dom, java.lang.String name)
           
static P2Object Util.resolve(Path path)
          resolves a pathname of a managed object into an OID
static P2Object Util.resolve(java.lang.String name)
           
static P2Object Util.resolve(java.lang.String defaultDomain, Path path)
          resolves a pathname of a managed object into an OID
static P2Object Util.resolve(java.lang.String defaultDomain, java.lang.String name)
           
 

Methods in net.ponder2 with parameters of type P2Object
 void P2ManagedObject.attachRemotePolicy(P2Object remote)
           
 P2Object P2ObjectAdaptor.CreateOrStaticOperation.call(P2ObjectAdaptor adaptor, P2Object source, java.lang.String operation, P2Object... args)
           
 P2Object P2ObjectAdaptor.CreateOrStaticOperation.call(P2ObjectAdaptor adaptor, P2Object source, java.lang.String operation, P2Object... args)
           
abstract  P2Object P2ObjectAdaptor.InstanceOperation.call(P2Object thisobj, ManagedObject obj, P2Object source, java.lang.String operation, P2Object... args)
          calls an operation in a managed object
abstract  P2Object P2ObjectAdaptor.InstanceOperation.call(P2Object thisobj, ManagedObject obj, P2Object source, java.lang.String operation, P2Object... args)
          calls an operation in a managed object
abstract  ManagedObject P2ObjectAdaptor.CreateOperation.call(P2Object obj, P2Object source, java.lang.String operation, P2Object... args)
          creates a managed object
abstract  ManagedObject P2ObjectAdaptor.CreateOperation.call(P2Object obj, P2Object source, java.lang.String operation, P2Object... args)
          creates a managed object
abstract  P2Object P2ObjectAdaptor.StaticOperation.call(P2Object source, java.lang.String operation, P2Object... args)
          maps an operation to a static method
abstract  P2Object P2ObjectAdaptor.StaticOperation.call(P2Object source, java.lang.String operation, P2Object... args)
          maps an operation to a static method
static boolean Util.canPerform(P2Object source, P2Object target, java.lang.String operation, P2Object... args)
          Check if an object has permission to perform an operation on another object.
static boolean Util.canPerform(P2Object source, P2Object target, java.lang.String operation, P2Object... args)
          Check if an object has permission to perform an operation on another object.
 boolean Domain.contains(P2Object anObject)
          returns true if anObject exists within the domain
 P2Object Ponder2Message.create(P2Object source, java.lang.String operation, P2Object... args)
           
 P2Object Ponder2Message.create(P2Object source, java.lang.String operation, P2Object... args)
           
 P2Object P2ObjectAdaptor.create(P2Object source, java.lang.String operation, P2Object... args)
          called as a result of an operation on the factory managed object for this managed object
 P2Object P2ObjectAdaptor.create(P2Object source, java.lang.String operation, P2Object... args)
          called as a result of an operation on the factory managed object for this managed object
 P2Object P2ManagedObject.create(P2Object source, java.lang.String operation, P2Object... args)
           
 P2Object P2ManagedObject.create(P2Object source, java.lang.String operation, P2Object... args)
           
protected  P2Object SelfManagedCell.execute(P2Object source, P2Block aBlock)
          Executes aBlock with no arguments.
protected  P2Object SelfManagedCell.executeArgs(P2Object source, P2Block aBlock, P2Array anArray)
          Executes aBlock with anArray of arguments.
protected  P2Object SelfManagedCell.executeHash(P2Object source, P2Block aBlock, P2Hash aHash)
          Executes aBlock with the values of its arguments being taken by name from aHash.
static int Shell.initialise(P2Object root, int port, boolean multipleSMCs)
          instantiates and sets the shell up to receive connections on the given port.
 void HashInspector.manage(P2Object aHash, java.lang.String aName)
          manages aHash using the identifier aName for its display
protected  P2Object ExternalManagedObject.obj_operation(P2Object source, java.lang.String op, P2Object... args)
          All operations are sent to the external Managed Object.
protected  P2Object ExternalManagedObject.obj_operation(P2Object source, java.lang.String op, P2Object... args)
          All operations are sent to the external Managed Object.
protected  void EventTemplate.operation_args(P2Object anArray)
          adds anArray of argument fields to this event template.
protected  P2Object Domain.operation_at_add(java.lang.String aName, P2Object p2Object)
          add anOid into the domain with aName.
protected  P2Object Domain.operation_at(P2Object source, java.lang.String aName, P2Block aBlock)
          Answer the P2Object associated with aName.
protected  P2Array Domain.operation_collect(P2Object source, P2Block aBlock)
          Calls aBlock with name/value pairs for each entry in the domain.
protected  void EventTemplate.operation_create(P2Object source)
          creates and sends an event of this type with no values.
protected  void EventTemplate.operation_create(P2Object source, P2Array anArray)
          creates and sends an event of this type with values from anArray.
protected  void EventTemplate.operation_create(P2Object source, P2Hash aHash)
          creates and sends an event of this type with values from aHash.
protected  P2Object FactoryObject.operation_create(P2Object source, java.lang.String op, P2Object... args)
          all messages are sent to the Managed Object being created.
protected  P2Object FactoryObject.operation_create(P2Object source, java.lang.String op, P2Object... args)
          all messages are sent to the Managed Object being created.
protected  void Domain.operation_do(P2Object source, P2Block aBlock)
          Calls aBlock with name/value pairs for each entry in the domain.
 P2Object Ponder2Message.operation(P2Object source, java.lang.String operation, P2Object... args)
           
 P2Object Ponder2Message.operation(P2Object source, java.lang.String operation, P2Object... args)
           
 P2Object P2ObjectAdaptor.operation(P2Object source, java.lang.String operation, P2Object... args)
          called as a result of an operation on the instantiated managed object
 P2Object P2ObjectAdaptor.operation(P2Object source, java.lang.String operation, P2Object... args)
          called as a result of an operation on the instantiated managed object
 P2Object P2ManagedObject.operation(P2Object source, java.lang.String operation, P2Object... args)
           
 P2Object P2ManagedObject.operation(P2Object source, java.lang.String operation, P2Object... args)
           
 P2Object Ponder2Message.operation(P2Object source, java.lang.String operation, java.lang.String arg1, java.lang.String... args)
           
 P2Object P2ManagedObject.operation(P2Object source, java.lang.String operation, java.lang.String arg1, java.lang.String... args)
           
 P2Hash EventTemplate.packageArgs(P2Object... args)
          INTERNAL OPERATION.
static void Util.parseFile(P2Object source, java.lang.String name)
           
static void Util.parseFile(P2Object source, java.lang.String name, P2Hash variables)
           
static void Util.parseFile(P2Object source, java.lang.String name, XMLParser parser)
           
 void SelfManagedCell.read(P2Object source, java.lang.String aUrl)
          Reads and executes PonderTalk from aUrl.
 void SelfManagedCell.read(P2Object source, java.lang.String aUrl, P2Hash varHash)
          Reads and executes PonderTalk from aUrl.
 P2Object SelfManagedCell.readString(P2Object source, java.lang.String aPonderTalkString)
          Reads and executes PonderTalk from aPonderTalkString.
 P2Object SelfManagedCell.readString(P2Object source, java.lang.String aPonderTalkString, P2Hash varHash)
          Reads and executes PonderTalk from aPonderTalkString.
protected  boolean Domain.removeObject(P2Object anObject)
          Removes anObject from the receiver.
protected  int Timer.repeat(P2Object source, java.lang.String time, P2Object event)
          sets up and starts a repetitive timer that send the event periodically.
static P2Object Util.resolve(P2Object dom, Path path)
           
static P2Object Util.resolve(P2Object dom, java.lang.String name)
           
protected  int Timer.tick(P2Object source, java.lang.String time, P2Object event)
          sets up and starts a one off timer.
protected static void P2ObjectAdaptor.trace(java.lang.String opType, java.lang.String className, java.lang.String operation, P2Object... args)
          Prints a command trace line on stderr.
 

Method parameters in net.ponder2 with type arguments of type P2Object
 com.twicom.qdparser.TaggedElement P2ObjectAdaptor.writeXml(java.util.Set<P2Object> written)
           
 com.twicom.qdparser.TaggedElement OID.writeXml(java.util.Set<P2Object> written)
           
 

Constructors in net.ponder2 with parameters of type P2Object
Domain(P2Object myP2Object)
          creates a new Domain managed object
EventTemplate(P2Object myP2Object)
          creates an empty template.
EventTemplate(P2Object myP2Object, P2Array anArray)
          creates an event template with anArray containing the argument names.
ExternalManagedObject(P2Object myP2Object)
          Creates a new external Managed Object that acts as a proxy for the real remote object.
P2ManagedObject(P2Object p2Object)
          The base class for all Managed Objects within the system.
P2ObjectAdaptor(P2Object source, java.lang.String operation, P2Object... args)
           
P2ObjectAdaptor(P2Object source, java.lang.String operation, P2Object... args)
           
PonderTalk(P2Object myP2Object)
          Creates a PonderTalk managed object
SelfManagedCell(P2Object myP2Object)
          creates a new SelfManagedCell domain.
 

Uses of P2Object in net.ponder2.comms
 

Methods in net.ponder2.comms that return P2Object
abstract  P2Object TransmitterImpl.execute(java.net.URI address, OID target, P2Object source, java.lang.String op, P2Object[] args)
          executes commands at a remote managed object
 P2Object Transmitter.execute(java.net.URI address, OID target, P2Object source, java.lang.String op, P2Object[] args)
          executes commands at a remote managed object.
static P2Object Receiver.execute(java.net.URI address, OID oid, P2Object source, java.lang.String op, P2Object[] args)
          Executes a remotely received command.
protected  P2Object TransmitterImpl.executeString(java.net.URI address, OID target, P2Object source, java.lang.String op, P2Object[] args)
          executes commands at a remote managed object.
protected  P2Object TransmitterImpl.executeXml(java.net.URI address, OID target, P2Object source, java.lang.String op, P2Object[] args)
          executes commands at a remote managed object.
abstract  P2Object TransmitterImpl.getObject(java.net.URI address, java.lang.String path)
          gets a managed object from a remote SMC
 P2Object Transmitter.getObject(java.net.URI address, java.lang.String path)
          gets a managed object from a remote SMC
static P2Object Receiver.getObject(java.net.URI address, java.lang.String path)
          Returns a managed object to a remote SMC.
protected  P2Object TransmitterImpl.getObjectString(java.net.URI address, java.lang.String path)
          gets a managed object from a remote SMC using XML as a string for the communications
protected  P2Object TransmitterImpl.getObjectXml(java.net.URI address, java.lang.String path)
          gets a managed object from a remote SMC using XML for the communications
 P2Object P2Serializable.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
 

Methods in net.ponder2.comms with parameters of type P2Object
abstract  P2Object TransmitterImpl.execute(java.net.URI address, OID target, P2Object source, java.lang.String op, P2Object[] args)
          executes commands at a remote managed object
abstract  P2Object TransmitterImpl.execute(java.net.URI address, OID target, P2Object source, java.lang.String op, P2Object[] args)
          executes commands at a remote managed object
 P2Object Transmitter.execute(java.net.URI address, OID target, P2Object source, java.lang.String op, P2Object[] args)
          executes commands at a remote managed object.
 P2Object Transmitter.execute(java.net.URI address, OID target, P2Object source, java.lang.String op, P2Object[] args)
          executes commands at a remote managed object.
static P2Object Receiver.execute(java.net.URI address, OID oid, P2Object source, java.lang.String op, P2Object[] args)
          Executes a remotely received command.
static P2Object Receiver.execute(java.net.URI address, OID oid, P2Object source, java.lang.String op, P2Object[] args)
          Executes a remotely received command.
protected  P2Object TransmitterImpl.executeString(java.net.URI address, OID target, P2Object source, java.lang.String op, P2Object[] args)
          executes commands at a remote managed object.
protected  P2Object TransmitterImpl.executeString(java.net.URI address, OID target, P2Object source, java.lang.String op, P2Object[] args)
          executes commands at a remote managed object.
protected  P2Object TransmitterImpl.executeXml(java.net.URI address, OID target, P2Object source, java.lang.String op, P2Object[] args)
          executes commands at a remote managed object.
protected  P2Object TransmitterImpl.executeXml(java.net.URI address, OID target, P2Object source, java.lang.String op, P2Object[] args)
          executes commands at a remote managed object.
 

Method parameters in net.ponder2.comms with type arguments of type P2Object
 com.twicom.qdparser.TaggedElement P2Serializable.writeXml(java.util.Set<P2Object> written)
           
 

Uses of P2Object in net.ponder2.inspector
 

Methods in net.ponder2.inspector that return P2Object
 P2Object ValueString.getNewValue()
           
abstract  P2Object ValuePanel.getNewValue()
           
 P2Object ValueP2Object.getNewValue()
           
 P2Object ValueNumber.getNewValue()
           
 P2Object ValueNew.getNewValue()
           
 P2Object ValueBoolean.getNewValue()
           
 P2Object Value.getNewValue()
           
 

Method parameters in net.ponder2.inspector with type arguments of type P2Object
 void InspectorWindow.setList(java.util.Map<java.lang.String,P2Object> list2)
           
 

Constructors in net.ponder2.inspector with parameters of type P2Object
ValueP2Object(java.lang.String name, P2Object value)
          Creates a new string attribute
 

Uses of P2Object in net.ponder2.managedobject
 

Subclasses of P2Object in net.ponder2.managedobject
 class CsvHash
          TODO Description
 class DateTime
          TODO Description
 

Methods in net.ponder2.managedobject that return P2Object
 P2Object DateTime.operation_minus(P2Object source, P2Object aDateTime)
           
 P2Object DateTime.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
 

Methods in net.ponder2.managedobject with parameters of type P2Object
 P2Object DateTime.operation_minus(P2Object source, P2Object aDateTime)
           
 

Uses of P2Object in net.ponder2.mission
 

Methods in net.ponder2.mission that return P2Object
protected  P2Object Interface.obj_operation(P2Object source, java.lang.String op, P2Object... args)
          For internal use.
 

Methods in net.ponder2.mission with parameters of type P2Object
protected  P2Object Interface.obj_operation(P2Object source, java.lang.String op, P2Object... args)
          For internal use.
protected  P2Object Interface.obj_operation(P2Object source, java.lang.String op, P2Object... args)
          For internal use.
protected  void Mission.policyIs(java.lang.String aName, P2Object aBlock)
          Adds a policy block, aBlock, with the name aName
 

Constructors in net.ponder2.mission with parameters of type P2Object
MissionController(P2Object myP2Object, P2Object aDomainFactory, P2Object anEcaPolicyFactory)
          Creates a MissionController using aDomain as the main mission root.
 

Uses of P2Object in net.ponder2.objects
 

Subclasses of P2Object in net.ponder2.objects
 class P2Array
          Holds a collection of Ponder2 objects.
 class P2Block
          Acts as a closure encompassing PonderTalk statements.
 class P2Boolean
          A boolean object.
 class P2Class
          TODO Description
 class P2Error
          Object containing error details created when an error is thrown in the code.
 class P2Hash
          Implements a dictionary that stores objects indexed by keys.
 class P2Null
          Class representing the null value.
 class P2Number
          An object used for comparing and counting
 class P2String
          TODO Description
 class P2XML
          This is an internal Ponder2 XML object type.
 

Methods in net.ponder2.objects that return P2Object
 P2Object[] P2Object.asArray()
          Returns itself as an array of Ponder2 objects
 P2Object[] P2Array.asArray()
           
 P2Object P2String.asObject()
          Answers the managed object referred to by the pathname in the receiver
 P2Object P2XML.asXML()
          Returns itself, used for compatibility with other types
 P2Object P2Array.at(int anIndex)
          returns the object at anIndex
 P2Object P2Array.atput(int anIndex, P2Object aP2Object)
          inserts aP2Object at anIndex posiion in the array.
static P2Object P2Object.create(P2ManagedObject mo)
           
 P2Object P2Object.create(P2Object source, java.lang.String operation, P2Object... args)
           
protected  P2Object P2Block.execute(P2Object source, P2Object... args)
          Executes the block with anArray of arguments.
static P2Object P2Object.fromXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
 P2Object P2Hash.get(java.lang.Object key)
           
 P2Object P2Block.getVariable(java.lang.String var)
          Used for testing.
protected  P2Object P2Boolean.ifFalse(P2Object source, P2Block aBlock)
          Executes aBlock if the receiver is false.
protected  P2Object P2Boolean.ifFalseifTrue(P2Object source, P2Block aBlockFalse, P2Block aBlockTrue)
          Executes aBlockFalse if the receiver is false otherwise aBlockTrue is executed.
protected  P2Object P2Boolean.ifTrue(P2Object source, P2Block aBlock)
          Executes aBlock if the receiver is true.
protected  P2Object P2Boolean.ifTrueifFalse(P2Object source, P2Block aBlockTrue, P2Block aBlockFalse)
          Executes aBlockTrue if the receiver is true otherwise aBlockFalse is executed.
protected  P2Object P2Block.onError(P2Block anErrorBlock)
          associates anErrorBlock with the receiver.
 P2Object P2Block.operation_array(P2Object source, P2Array anArray)
          Executes the block with anArray of arguments.
 P2Object P2Block.operation_array(P2Object source, P2Hash vars, P2Array anArray)
          Executes the block with anArray of arguments.
 P2Object P2Hash.operation_at_ifAbsent(P2Object source, java.lang.String aKey, P2Block aBlock)
          Answer the value associated with the given key.
 P2Object P2Hash.operation_at_put(java.lang.String aKey, P2Object anObject)
          Answer anObject.
protected  P2Object P2Hash.operation_at(java.lang.String aKey)
          Answer the value associated with the given key.
protected  P2Object P2Hash.operation_listNames()
          answers an array containing the names of all the domain's entries.
protected  P2Object P2Hash.operation_listObjects()
          answers an array of Managed Object names containing all the entries in the domain.
protected  P2Object P2Hash.operation_remove(java.lang.String aKey)
          Answer the value associated with the given key and remove it from the table.
 P2Object P2Block.operation_value0(P2Object source)
          executes the block with no arguments.
 P2Object P2Block.operation_value1(P2Object source, P2Object arg0)
          Executes the block with one argument: arg0.
 P2Object P2Block.operation_value2(P2Object source, P2Object arg0, P2Object arg1)
          Executes the block with two arguments: arg0 and arg1.
 P2Object P2Block.operation_value3(P2Object source, P2Object arg0, P2Object arg1, P2Object arg2)
          Executes the block with three arguments: arg0, arg1 and arg2.
 P2Object P2Block.operation_valueHash(P2Object source, P2Object aHash)
          The block is executed with the values of its arguments being taken by name from aHash.
 P2Object P2Block.operation_valueVars(P2Object source, P2Object aHash)
          The block is executed with the values in aHash being added to the block's environment variables.
 P2Object P2Object.operation(P2Object source, java.lang.String operation, P2Object... args)
          Performs operations on behalf of basic managed objects.
 P2Object P2Object.operation(P2Object source, java.lang.String operation, java.lang.String arg1, java.lang.String... args)
           
 P2Object P2Hash.put(java.lang.String key, P2Object value)
           
 P2Object P2XML.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
 P2Object P2String.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
abstract  P2Object P2Object.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
 P2Object P2Number.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
 P2Object P2Null.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
 P2Object P2Hash.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
 P2Object P2Error.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
 P2Object P2Class.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
 P2Object P2Boolean.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
 P2Object P2Block.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
 P2Object P2Array.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
protected  P2Object P2Array.remove(int anIndex)
          Answer the value associated with the given index and remove it from the receiver.
 P2Object P2Hash.remove(java.lang.Object key)
           
 

Methods in net.ponder2.objects that return types with arguments of type P2Object
 java.util.Map<java.lang.String,P2Object> P2Hash.asMap()
          gets the complete arguments in name, value pairs
 java.util.Set<java.util.Map.Entry<java.lang.String,P2Object>> P2Hash.entrySet()
           
 java.util.Vector<P2Object> P2Array.getValues()
          Returns all the values in the array as a Vector
 java.util.Collection<P2Object> P2Hash.values()
           
 

Methods in net.ponder2.objects with parameters of type P2Object
 void P2Array.add(P2Object aP2Object)
          adds a aP2Object to the receiver.
protected  boolean P2Boolean.and(P2Object source, P2Block aBlock)
          Answers a boolean being the receiver AND the value of aBlock if the receiver is true.
 P2Object P2Array.atput(int anIndex, P2Object aP2Object)
          inserts aP2Object at anIndex posiion in the array.
static P2Array P2Object.create(P2Object... values)
           
 P2Object P2Object.create(P2Object source, java.lang.String operation, P2Object... args)
           
 P2Object P2Object.create(P2Object source, java.lang.String operation, P2Object... args)
           
protected  P2Object P2Block.execute(P2Object source, P2Object... args)
          Executes the block with anArray of arguments.
protected  P2Object P2Block.execute(P2Object source, P2Object... args)
          Executes the block with anArray of arguments.
 boolean P2Array.hasObject(P2Object aP2Object)
          returns true if the array contains aP2Object
protected  P2Object P2Boolean.ifFalse(P2Object source, P2Block aBlock)
          Executes aBlock if the receiver is false.
protected  P2Object P2Boolean.ifFalseifTrue(P2Object source, P2Block aBlockFalse, P2Block aBlockTrue)
          Executes aBlockFalse if the receiver is false otherwise aBlockTrue is executed.
protected  P2Object P2Boolean.ifTrue(P2Object source, P2Block aBlock)
          Executes aBlock if the receiver is true.
protected  P2Object P2Boolean.ifTrueifFalse(P2Object source, P2Block aBlockTrue, P2Block aBlockFalse)
          Executes aBlockTrue if the receiver is true otherwise aBlockFalse is executed.
protected  P2Array P2Number.op_collect(P2Object source, P2Object aBlock)
          Execute aBlock this number of times.
protected  void P2Number.op_do(P2Object source, P2Object aBlock)
          Execute aBlock this number of times.
 P2Object P2Block.operation_array(P2Object source, P2Array anArray)
          Executes the block with anArray of arguments.
 P2Object P2Block.operation_array(P2Object source, P2Hash vars, P2Array anArray)
          Executes the block with anArray of arguments.
 P2Object P2Hash.operation_at_ifAbsent(P2Object source, java.lang.String aKey, P2Block aBlock)
          Answer the value associated with the given key.
 P2Object P2Hash.operation_at_put(java.lang.String aKey, P2Object anObject)
          Answer anObject.
 P2Array P2Hash.operation_collect(P2Object source, P2Block aBlock)
          Takes a block and executes the block once for each entry in the hash.
 P2Array P2Array.operation_collect(P2Object source, P2Block aBlock)
          for each entry in the array executes aBlock with the entry given as an argument to the block.
 void P2Hash.operation_do(P2Object source, P2Block aBlock)
          Takes a block and executes the block once for each entry in the hash.
 void P2Array.operation_do(P2Object source, P2Block aBlock)
          for each object in the array executes aBlock with the object given as an argument to the block.
protected  boolean P2Hash.operation_has(P2Object anObject)
          Answer true if anObject is in the receiver
protected  boolean P2Block.operation_hasArgs(P2Object source, P2Object aHash)
          Returns true if aHash contains entries that match all the names of the arguments that the block requires.
 P2Object P2Block.operation_value0(P2Object source)
          executes the block with no arguments.
 P2Object P2Block.operation_value1(P2Object source, P2Object arg0)
          Executes the block with one argument: arg0.
 P2Object P2Block.operation_value2(P2Object source, P2Object arg0, P2Object arg1)
          Executes the block with two arguments: arg0 and arg1.
 P2Object P2Block.operation_value3(P2Object source, P2Object arg0, P2Object arg1, P2Object arg2)
          Executes the block with three arguments: arg0, arg1 and arg2.
 P2Object P2Block.operation_valueHash(P2Object source, P2Object aHash)
          The block is executed with the values of its arguments being taken by name from aHash.
 P2Object P2Block.operation_valueVars(P2Object source, P2Object aHash)
          The block is executed with the values in aHash being added to the block's environment variables.
 P2Object P2Object.operation(P2Object source, java.lang.String operation, P2Object... args)
          Performs operations on behalf of basic managed objects.
 P2Object P2Object.operation(P2Object source, java.lang.String operation, P2Object... args)
          Performs operations on behalf of basic managed objects.
 P2Object P2Object.operation(P2Object source, java.lang.String operation, java.lang.String arg1, java.lang.String... args)
           
protected  boolean P2Boolean.or(P2Object source, P2Block aBlock)
          Answers a boolean being the receiver OR the value of aBlock if the receiver is false.
 P2Object P2Hash.put(java.lang.String key, P2Object value)
           
protected  boolean P2Hash.removeObject(P2Object anObject)
          Removes anObject from the receiver.
protected  boolean P2Array.removeObject(P2Object anObject)
          Removes anObject from the receiver.
protected  void P2Block.whileFalse(P2Object source, P2Object aBlock)
          While the receiver is false, keep executing aBlock with no arguments
protected  void P2Block.whileTrue(P2Object source, P2Object aBlock)
          While the receiver is true, keep executing aBlock with no arguments
 

Method parameters in net.ponder2.objects with type arguments of type P2Object
static P2Hash P2Object.create(java.util.Map<java.lang.String,P2Object> hash)
           
static P2Block P2Object.create(java.util.Map<java.lang.String,P2Object> variables, com.twicom.qdparser.TaggedElement block)
           
 void P2Hash.putAll(java.util.Map<? extends java.lang.String,? extends P2Object> map)
           
 com.twicom.qdparser.TaggedElement P2XML.writeXml(java.util.Set<P2Object> written)
           
 com.twicom.qdparser.TaggedElement P2String.writeXml(java.util.Set<P2Object> written)
           
 com.twicom.qdparser.TaggedElement P2Object.writeXml(java.util.Set<P2Object> written)
           
 com.twicom.qdparser.TaggedElement P2Number.writeXml(java.util.Set<P2Object> written)
           
 com.twicom.qdparser.TaggedElement P2Hash.writeXml(java.util.Set<P2Object> written)
           
 com.twicom.qdparser.TaggedElement P2Error.writeXml(java.util.Set<P2Object> written)
           
 com.twicom.qdparser.TaggedElement P2Class.writeXml(java.util.Set<P2Object> written)
           
 com.twicom.qdparser.TaggedElement P2Boolean.writeXml(java.util.Set<P2Object> written)
           
 com.twicom.qdparser.TaggedElement P2Block.writeXml(java.util.Set<P2Object> written)
           
 com.twicom.qdparser.TaggedElement P2Array.writeXml(java.util.Set<P2Object> written)
           
 

Constructors in net.ponder2.objects with parameters of type P2Object
P2Array(P2Object... values)
          creates a P2Array initialised with values
 

Constructor parameters in net.ponder2.objects with type arguments of type P2Object
P2Block(java.util.Map<java.lang.String,P2Object> variables, com.twicom.qdparser.TaggedElement block)
           
P2Hash(java.util.Map<java.lang.String,P2Object> hash)
          Creates an instance of a P2Hash with initials value(s)
 

Uses of P2Object in net.ponder2.parser
 

Methods in net.ponder2.parser that return P2Object
 P2Object XMLParser.execute(P2Object source, java.io.Reader reader)
           
 P2Object XMLParser.execute(P2Object source, java.lang.String xmlString)
           
 P2Object XMLParser.execute(P2Object source, com.twicom.qdparser.TaggedElement xml)
           
 

Methods in net.ponder2.parser with parameters of type P2Object
 P2Object XMLParser.execute(P2Object source, java.io.Reader reader)
           
 P2Object XMLParser.execute(P2Object source, java.lang.String xmlString)
           
 P2Object XMLParser.execute(P2Object source, com.twicom.qdparser.TaggedElement xml)
           
 

Uses of P2Object in net.ponder2.policy
 

Subclasses of P2Object in net.ponder2.policy
 class Event
          The actual notification that is sent through the system.
 

Fields in net.ponder2.policy declared as P2Object
protected  P2Object AuthorisationModule.rootDomain
           
 

Methods in net.ponder2.policy that return P2Object
 P2Object Event.getEventTemplate()
          gets the OID of the original event template
 P2Object Event.getSource()
          gets the source OID of this event
protected  P2Object ObligationPolicy.operation_action(P2Block aBlock)
          adds aBlock to the list of actions of the policy.
protected  P2Object Policy.operation_active(boolean aBoolean)
          makes the policy active if aBoolean is true else makes the policy inactive.
protected  P2Object ObligationPolicy.operation_condition(P2Block aBlock)
          adds aBlock to the list of conditions of the policy.
protected  P2Object ObligationPolicy.operation_eaction(P2Block aBlock)
          adds aBlock to the list of actions to be handed the whole event when it occurs.
protected  P2Object ObligationPolicy.operation_event(P2Object anEventTemplate)
          Sets anEventTemplate to be the type of event that this policy should be triggered by.
protected  P2Object AuthorisationPolicy.operation_in_condition(P2Block aBlock)
          sets the condition of the policy for the request part of an action.
protected  P2Object AuthorisationPolicy.operation_out_condition(P2Block aBlock)
          sets the condition of the policy for the reply part of an action.
 P2Object Event.readXml(com.twicom.qdparser.TaggedElement xml, java.util.Map<java.lang.Integer,P2Serializable> read)
           
 

Methods in net.ponder2.policy with parameters of type P2Object
protected abstract  void Policy.attach(P2Object aManagedObject)
          attaches this policy to aManagedObject.
protected  void ObligationPolicy.attach(P2Object aManagedObject)
           
protected  void AuthorisationPolicy.attach(P2Object aManagedObject)
           
protected  boolean AuthorisationPolicy.checkCondition(P2Object subject, P2Object target, java.lang.String conditionType, P2Object... argAttribute)
           
protected  boolean AuthorisationPolicy.checkCondition(P2Object subject, P2Object target, java.lang.String conditionType, P2Object... argAttribute)
           
 boolean AuthorisationPolicy.checkRequestCondition(P2Object subject, P2Object target, P2Object... argAttribute)
           
 boolean AuthorisationPolicy.checkRequestCondition(P2Object subject, P2Object target, P2Object... argAttribute)
           
 boolean AuthorisationPolicy.checkReturnCondition(P2Object subject, P2Object target, P2Object... argAttribute)
           
 boolean AuthorisationPolicy.checkReturnCondition(P2Object subject, P2Object target, P2Object... argAttribute)
           
protected static short AuthPolicySearch.evaluate(AuthPolicyHolder holder, AuthorisationPolicy policy, short pepType, P2Object subject, P2Object target, P2Object... argAttribute)
          This method is used to evaluate a given policy.
protected static short AuthPolicySearch.evaluate(AuthPolicyHolder holder, AuthorisationPolicy policy, short pepType, P2Object subject, P2Object target, P2Object... argAttribute)
          This method is used to evaluate a given policy.
protected  P2Boolean ObligationPolicy.operation_canExecute(P2Object anEvent)
          answers true if anEvent has the values that satisfy all the policy's conditions
protected  P2Object ObligationPolicy.operation_event(P2Object anEventTemplate)
          Sets anEventTemplate to be the type of event that this policy should be triggered by.
protected  void ObligationPolicy.operation_execute(P2Object anEvent)
          executes all the actions using anEvent.
protected  void ObligationPolicy.operation_value(P2Object source, P2Object anEvent)
          executes all the actions using anEvent.
 void BasicAuthModule.reply(short pepType, char focus, AuthPolicyHolder holder, P2Object subjectOID, P2Object targetOID, java.lang.String operation, P2Object[] args, P2Object returnedValue)
           
 void BasicAuthModule.reply(short pepType, char focus, AuthPolicyHolder holder, P2Object subjectOID, P2Object targetOID, java.lang.String operation, P2Object[] args, P2Object returnedValue)
           
abstract  void AuthorisationModule.reply(short pepType, char focus, AuthPolicyHolder holder, P2Object source, P2Object target, java.lang.String operation, P2Object[] args, P2Object returnedValue)
          Method that intercepts calls at PEP3 and PEP4 points.
abstract  void AuthorisationModule.reply(short pepType, char focus, AuthPolicyHolder holder, P2Object source, P2Object target, java.lang.String operation, P2Object[] args, P2Object returnedValue)
          Method that intercepts calls at PEP3 and PEP4 points.
 void BasicAuthModule.request(short pepType, char focus, AuthPolicyHolder holder, P2Object subjectOID, P2Object targetOID, java.lang.String operation, P2Object[] args)
           
 void BasicAuthModule.request(short pepType, char focus, AuthPolicyHolder holder, P2Object subjectOID, P2Object targetOID, java.lang.String operation, P2Object[] args)
           
abstract  void AuthorisationModule.request(short pepType, char focus, AuthPolicyHolder holder, P2Object source, P2Object target, java.lang.String operation, P2Object[] args)
          Method that intercepts request calls at PEP1 and PEP2 points.
abstract  void AuthorisationModule.request(short pepType, char focus, AuthPolicyHolder holder, P2Object source, P2Object target, java.lang.String operation, P2Object[] args)
          Method that intercepts request calls at PEP1 and PEP2 points.
 short StaticAuthPolicySearch.search(AuthPolicyHolder holder, short pepType, P2Object subject, P2Object target, java.lang.String action, char focus, P2Object[] args, P2Object result)
          This is the main method called externally for performing the search of an applicable policy.
 short StaticAuthPolicySearch.search(AuthPolicyHolder holder, short pepType, P2Object subject, P2Object target, java.lang.String action, char focus, P2Object[] args, P2Object result)
          This is the main method called externally for performing the search of an applicable policy.
 short FlexAuthPolicySearch.search(AuthPolicyHolder holder, short pepType, P2Object subject, P2Object target, java.lang.String action, char focus, P2Object[] args, P2Object result)
          This is the main method called externally for performing the search of an applicable policy.
 short FlexAuthPolicySearch.search(AuthPolicyHolder holder, short pepType, P2Object subject, P2Object target, java.lang.String action, char focus, P2Object[] args, P2Object result)
          This is the main method called externally for performing the search of an applicable policy.
abstract  short AuthPolicySearch.search(AuthPolicyHolder holder, short pepType, P2Object subject, P2Object target, java.lang.String action, char focus, P2Object[] args, P2Object result)
          This is the main method called externally for performing the search of an applicable policy.
abstract  short AuthPolicySearch.search(AuthPolicyHolder holder, short pepType, P2Object subject, P2Object target, java.lang.String action, char focus, P2Object[] args, P2Object result)
          This is the main method called externally for performing the search of an applicable policy.
 void AuthorisationModule.setRootDomain(P2Object rootDomain)
           
 

Method parameters in net.ponder2.policy with type arguments of type P2Object
 com.twicom.qdparser.TaggedElement Event.writeXml(java.util.Set<P2Object> written)
           
 

Constructors in net.ponder2.policy with parameters of type P2Object
AuthorisationPolicy(P2Object subject, java.lang.String action, P2Object target, java.lang.String focus)
          Creates a new authorisation policy between subject and target managed objects.
Event(P2Object source, P2Object eventTemplate, P2Array values)
           
Event(P2Object source, P2Object eventTemplate, P2Hash values)
           
Event(P2Object source, P2Object eventTemplate, P2Object... values)
           
Event(P2Object source, P2Object eventTemplate, P2Object... values)
           
Event(P2Object source, java.lang.String eventTemplate, P2Object... values)
           
Event(P2Object source, java.lang.String eventTemplate, P2Object... values)
           
ObligationPolicy(P2Object myP2Object)
          creates a new obligation policy.
 



Copyright © 2008 Imperial College. All Rights Reserved.