Uses of Class
net.ponder2.objects.P2Block

Packages that use P2Block
net.ponder2   
net.ponder2.objects   
net.ponder2.policy   
 

Uses of P2Block in net.ponder2
 

Methods in net.ponder2 with parameters of type P2Block
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.
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 Domain.operation_do(P2Object source, P2Block aBlock)
          Calls aBlock with name/value pairs for each entry in the domain.
 

Uses of P2Block in net.ponder2.objects
 

Methods in net.ponder2.objects that return P2Block
 P2Block P2Object.asBlock()
          Returns itself as a Ponder2 block
 P2Block P2Block.asBlock()
           
static P2Block P2Object.create(java.util.Map<java.lang.String,P2Object> variables, com.twicom.qdparser.TaggedElement block)
           
 

Methods in net.ponder2.objects with parameters of type P2Block
protected  boolean P2Boolean.and(P2Object source, P2Block aBlock)
          Answers a boolean being the receiver AND the value of aBlock if the receiver is true.
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 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 P2Boolean.or(P2Object source, P2Block aBlock)
          Answers a boolean being the receiver OR the value of aBlock if the receiver is false.
 

Uses of P2Block in net.ponder2.policy
 

Methods in net.ponder2.policy with parameters of type P2Block
protected  void ObligationPolicy.onError(P2Block anErrorBlock)
          associates anErrorBlock with the receiver.
protected  P2Object ObligationPolicy.operation_action(P2Block aBlock)
          adds aBlock to the list of actions of the policy.
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 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.
 



Copyright © 2008 Imperial College. All Rights Reserved.