|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Ponder2Exception | |
---|---|
net.ponder2 | |
net.ponder2.comms | |
net.ponder2.exception | |
net.ponder2.managedobject | |
net.ponder2.mission | |
net.ponder2.objects | |
net.ponder2.parser | |
net.ponder2.policy |
Uses of Ponder2Exception in net.ponder2 |
---|
Methods in net.ponder2 that throw Ponder2Exception | |
---|---|
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 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 |
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)
|
void |
EventForwarder.event(Event event)
|
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 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(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 void |
Domain.operation_do(P2Object source,
P2Block aBlock)
Calls aBlock with name/value pairs for each entry in the domain. |
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 |
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)
|
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)
|
static boolean |
SelfManagedCell.ping(java.lang.String location)
Pings remote SMC to see if it is alive. |
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 P2ManagedObject |
Domain.remove(java.lang.String name)
removes a managed object from a domain |
protected void |
Domain.removeAll()
Removes all objects from the domain. |
protected boolean |
Domain.removeObject(P2Object anObject)
Removes anObject from the receiver. |
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)
|
Constructors in net.ponder2 that throw Ponder2Exception | |
---|---|
P2ObjectAdaptor(P2Object source,
java.lang.String operation,
P2Object... args)
|
Uses of Ponder2Exception in net.ponder2.comms |
---|
Methods in net.ponder2.comms that throw Ponder2Exception | |
---|---|
static java.lang.String |
Receiver.execute(java.lang.String sxml)
Executes a remotely received command. |
static com.twicom.qdparser.TaggedElement |
Receiver.execute(com.twicom.qdparser.TaggedElement xml)
Executes a remotely received command. |
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 java.lang.String |
TransmitterImpl.execute(java.net.URI address,
java.lang.String xmlString)
Executes a command remotely |
protected com.twicom.qdparser.TaggedElement |
TransmitterImpl.execute(java.net.URI address,
com.twicom.qdparser.TaggedElement xml)
Executes a command remotely |
static com.twicom.qdparser.TaggedElement |
Receiver.execute(java.net.URI address,
com.twicom.qdparser.TaggedElement xoid,
com.twicom.qdparser.TaggedElement xsource,
java.lang.String op,
com.twicom.qdparser.TaggedElement[] xargs)
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 |
Uses of Ponder2Exception in net.ponder2.exception |
---|
Subclasses of Ponder2Exception in net.ponder2.exception | |
---|---|
class |
Ponder2ArgumentException
TODO Description |
class |
Ponder2AuthorizationException
TODO Description |
class |
Ponder2OperationException
TODO Description |
class |
Ponder2RemoteException
TODO Description |
class |
Ponder2ResolveException
TODO Description |
Uses of Ponder2Exception in net.ponder2.managedobject |
---|
Methods in net.ponder2.managedobject that throw Ponder2Exception | |
---|---|
P2Object |
DateTime.operation_minus(P2Object source,
P2Object aDateTime)
|
Uses of Ponder2Exception in net.ponder2.mission |
---|
Methods in net.ponder2.mission that throw Ponder2Exception | |
---|---|
protected P2Object |
Interface.obj_operation(P2Object source,
java.lang.String op,
P2Object... args)
For internal use. |
Constructors in net.ponder2.mission that throw Ponder2Exception | |
---|---|
MissionController(P2Object myP2Object,
P2Object aDomainFactory,
P2Object anEcaPolicyFactory)
Creates a MissionController using aDomain as the main mission root. |
Uses of Ponder2Exception in net.ponder2.objects |
---|
Methods in net.ponder2.objects with parameters of type Ponder2Exception | |
---|---|
static P2Error |
P2Object.create(Ponder2Exception exception)
|
Methods in net.ponder2.objects that throw Ponder2Exception | |
---|---|
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 |
P2String.asObject()
Answers the managed object referred to by the pathname in the receiver |
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 |
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. |
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 |
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,
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. |
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 |
Constructors in net.ponder2.objects with parameters of type Ponder2Exception | |
---|---|
P2Error(Ponder2Exception exception)
constructor for Ponder2 serialisation |
Uses of Ponder2Exception in net.ponder2.parser |
---|
Methods in net.ponder2.parser that throw Ponder2Exception | |
---|---|
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 Ponder2Exception in net.ponder2.policy |
---|
Methods in net.ponder2.policy that throw Ponder2Exception | |
---|---|
protected boolean |
AuthorisationPolicy.checkCondition(P2Object subject,
P2Object target,
java.lang.String conditionType,
P2Object... argAttribute)
|
void |
ObligationPolicy.event(Event event)
|
void |
EventListener.event(Event event)
called to deal with an event when one occurs |
protected void |
ObligationPolicy.operation_value(P2Object source,
P2Object anEvent)
executes all the actions using anEvent. |
Constructors in net.ponder2.policy that throw Ponder2Exception | |
---|---|
Event(P2Object source,
P2Object eventTemplate,
P2Array values)
|
|
Event(P2Object source,
P2Object eventTemplate,
P2Object... values)
|
|
Event(P2Object source,
java.lang.String eventTemplate,
P2Object... values)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |