PonderTalk Object Reference

ResearcherMO

P2Array
Holds a collection of Ponder2 objects. An array may be returned from sending a message to an object or ir may be created in PonderTalk with the

 #( obj1 obj2 obj3) 
syntax.

ObligationPolicy
an obligation policy that performs Event, Condition, Action rules for the SMC

P2String
TODO Description

AuthorisationPolicy
This is a space holder for an Authorisation Policy, there is no support for it at present

SampleObject
Implements a hash or dictionary. This object holds name/object pairs. Objects may be added and removed.

SelfManagedCell
The top level root domain of the whole system. Contains main() to start the whole thing off

P2Boolean
A boolean object.

P2Number
An object used for comparing and counting

DateTime
TODO Description

P2Hash
Implements a dictionary that stores objects indexed by keys. The keys are string types.

Policy
This class implements policies within the SMC. It is the base class for more specialised policy classes and manages all the common work.

ShellInstance
The actual class that an interactive user interacts with. One ShellInstance is spawned off in a new thread for each new connection received.

CsvHash
TODO Description

PonderTalk
A Managed Object that parses and executes PonderTalk. PonderTalk can be supplied as strings from other PonderTalk statements or as strings received over RMI. The PonderTalk string is executed and the result is returned as a string. If an error occurs then a Ponder2Exception or a RemoteException is thrown.

P2Block
Acts as a closure encompassing PonderTalk statements. Any variables used by the statements within the block are untouched once the block is created. Blocks may have arguments that are handed in when they are executed. When a block is executed it returns returns the value of the last statement executed within the block. c.f. function calls.

P2XML
TODO Description