JACK Teams 5.4 JACOB Application Interface

aos.team
Class RoleEvent

java.lang.Object
  extended byaos.jack.jak.util.Watchable
      extended byaos.jack.jak.fsm.FSM
          extended byaos.jack.jak.event.Event
              extended byaos.jack.jak.event.BDIGoalEvent
                  extended byaos.team.RoleEvent
All Implemented Interfaces:
aos.jack.jak.util.ObservableInt, SettableEvent

public class RoleEvent
extends aos.jack.jak.event.BDIGoalEvent
implements SettableEvent


Field Summary
 
Fields inherited from class aos.jack.jak.event.BDIGoalEvent
mode
 
Fields inherited from class aos.jack.jak.event.Event
behavior, priority, relevant, task
 
Constructor Summary
RoleEvent()
           
 
Method Summary
 java.lang.String getDocumentation()
           
 java.lang.Object getVariable(int n)
          Gets the numbered Object variable.
protected  boolean initBehavior()
           
 RoleEvent post(int mode, java.lang.String peer, java.lang.String role, java.lang.String container)
           
 RoleEvent query(java.lang.String peer, java.lang.String role, java.lang.String container)
           
 RoleEvent result(int mode, java.lang.String container, java.lang.String actor)
           
 boolean set(aos.jack.jak.event.Event __e)
           
 java.lang.String stateInfo()
          Describe the events current state.
 java.lang.String[] variableNames()
          Gets a String array of the names of the Object's variables.
 java.lang.String[] variableTypes()
          Gets a String array of the type names of the Object's variables.
 
Methods inherited from class aos.jack.jak.event.BDIGoalEvent
getMyBehavior
 
Methods inherited from class aos.jack.jak.event.Event
computeFirstApplicable, dump, getEventName, getVariable, getVariableValue, getVariableValue, gotException, init_sentinel, isFailed, isPassed, isRunning, remove
 
Methods inherited from class aos.jack.jak.fsm.FSM
describe, discard, exceptionInfo, getAgent, getPreferredPriority, init, loadClass, restart, run, setMode, thrownAnException, toString, traceGoal
 
Methods inherited from class aos.jack.jak.util.Watchable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoleEvent

public RoleEvent()
Method Detail

getDocumentation

public java.lang.String getDocumentation()

set

public boolean set(aos.jack.jak.event.Event __e)
Specified by:
set in interface SettableEvent

query

public RoleEvent query(java.lang.String peer,
                       java.lang.String role,
                       java.lang.String container)

post

public RoleEvent post(int mode,
                      java.lang.String peer,
                      java.lang.String role,
                      java.lang.String container)

result

public RoleEvent result(int mode,
                        java.lang.String container,
                        java.lang.String actor)

initBehavior

protected boolean initBehavior()

stateInfo

public java.lang.String stateInfo()
Description copied from class: aos.jack.jak.event.Event
Describe the events current state.


variableNames

public java.lang.String[] variableNames()
Description copied from class: aos.jack.jak.event.Event
Gets a String array of the names of the Object's variables. The ordinal of a variable in the array is used to access its value with getValue.


variableTypes

public java.lang.String[] variableTypes()
Description copied from class: aos.jack.jak.event.Event
Gets a String array of the type names of the Object'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.event.Event
Gets the numbered Object variable.


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