JACK Teams 5.4 JACOB Application Interface

aos.team
Class RevokeRole

java.lang.Object
  extended byaos.jack.jak.plan.Plan
      extended byaos.team.RevokeRole

public class RevokeRole
extends aos.jack.jak.plan.Plan

The RevokeRole plan performs the tenderer side of the standard protocol for revoking role.


Constructor Summary
RevokeRole()
           
 
Method Summary
 boolean __relevant(aos.jack.jak.event.Event __e)
           
 aos.jack.jak.plan.PlanFSM acceptedByActor(Role r, java.lang.String role)
           
 aos.jack.jak.plan.PlanFSM body()
          Overridden by code generated by the JACK compiler.
 aos.jack.jak.cursor.Cursor context()
          Default context method for plans that define no context method of their own.
 aos.jack.jak.plan.Plan createPlan(aos.jack.jak.event.Event __e, aos.jack.jak.task.Task __t)
           
protected  aos.jack.jak.logic.Signature eventSignature(int __log)
           
 aos.jack.jak.plan.Plan freeze()
           
 aos.jack.jak.cursor.Cursor genCursor(int __index)
           
 aos.jack.jak.fsm.FSM genFSM(int __index)
           
 java.lang.Object genObject(int __index)
           
 java.lang.String getDocumentation()
           
 aos.apib.Base getGCode(aos.apib.TypeDict t)
           
 java.lang.String getGCodeString()
           
 java.lang.Object getVariable(int n)
          Gets the numbered Plan variable.
 java.lang.String handledEvent()
           
 boolean init_sentinel(aos.jack.jak.agent.NameSpace __a)
           
 java.lang.String[] reasoningMethods()
          Gets a String array of the names of the Plan's reasoning methods.
 boolean testCondition(int __index)
           
 aos.jack.jak.plan.Plan unfreeze()
           
 java.lang.String[] variableNames()
          Gets a String array of the names of the Plan's variables.
 java.lang.String[] variableTypes()
          Gets a String array of the type names of the Plan's variables.
 
Methods inherited from class aos.jack.jak.plan.Plan
after, after, afterMillis, afterMillis, describe, elapsed, elapsed, elapsedMillis, elapsedMillis, fail, getAgent, getInstanceInfo, getMonitor, getPlanName, getSignature, getVariable, getVariableValue, getVariableValue, isSame, logSignatureVariableTypes, objSignatureVariableNames, objSignatureVariableTypes, pass, toString, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RevokeRole

public RevokeRole()
Method Detail

getGCodeString

public java.lang.String getGCodeString()

getGCode

public aos.apib.Base getGCode(aos.apib.TypeDict t)

getDocumentation

public java.lang.String getDocumentation()

init_sentinel

public boolean init_sentinel(aos.jack.jak.agent.NameSpace __a)

freeze

public aos.jack.jak.plan.Plan freeze()

unfreeze

public aos.jack.jak.plan.Plan unfreeze()

genObject

public java.lang.Object genObject(int __index)

genCursor

public aos.jack.jak.cursor.Cursor genCursor(int __index)

genFSM

public aos.jack.jak.fsm.FSM genFSM(int __index)

testCondition

public boolean testCondition(int __index)

acceptedByActor

public aos.jack.jak.plan.PlanFSM acceptedByActor(Role r,
                                                 java.lang.String role)

body

public aos.jack.jak.plan.PlanFSM body()
Description copied from class: aos.jack.jak.plan.Plan
Overridden by code generated by the JACK compiler.


eventSignature

protected aos.jack.jak.logic.Signature eventSignature(int __log)

handledEvent

public java.lang.String handledEvent()
Returns:
The full name of the class of the handled event.

__relevant

public boolean __relevant(aos.jack.jak.event.Event __e)

createPlan

public aos.jack.jak.plan.Plan createPlan(aos.jack.jak.event.Event __e,
                                         aos.jack.jak.task.Task __t)

variableNames

public java.lang.String[] variableNames()
Description copied from class: aos.jack.jak.plan.Plan
Gets a String array of the names of the Plan's variables.


variableTypes

public java.lang.String[] variableTypes()
Description copied from class: aos.jack.jak.plan.Plan
Gets a String array of the type names of the Plan's variables. The ordering in the array matches that returned by variableNames.


getVariable

public java.lang.Object getVariable(int n)
Description copied from class: aos.jack.jak.plan.Plan
Gets the numbered Plan variable.


reasoningMethods

public java.lang.String[] reasoningMethods()
Description copied from class: aos.jack.jak.plan.Plan
Gets a String array of the names of the Plan's reasoning methods.


context

public aos.jack.jak.cursor.Cursor context()
Description copied from class: aos.jack.jak.plan.Plan
Default context method for plans that define no context method of their own. Normally overridden by code generated by the JACK compiler.

Returns:
null

JACK Teams 5.4 JACOB Application Interface

Copyright (C) 1999-2008, Agent Oriented Software Pty. Ltd.

US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.


Agent Oriented Software Pty. Ltd.     http://www.aosgrp.com
PO Box 639, Carlton South, Victoria 3053, Australia
Phone: +61 3 9349 5055, Fax: +61 3 9349 5088