JACK Teams 5.4 JACOB Application Interface

aos.team
Class ProtocolEvent

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.MessageEvent
                  extended byaos.team.ProtocolEvent
All Implemented Interfaces:
aos.apib.Base, aos.jack.jak.util.ObservableInt, java.io.Serializable, SettableEvent

public class ProtocolEvent
extends aos.jack.jak.event.MessageEvent
implements aos.apib.Base, java.io.Serializable, SettableEvent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class aos.jack.jak.event.MessageEvent
from, ident, message, mid, rmid
 
Fields inherited from class aos.jack.jak.event.Event
behavior, priority, relevant, task
 
Constructor Summary
ProtocolEvent()
           
 
Method Summary
 void cleanup()
           
 ProtocolEvent create(aos.jack.jak.agent.Agent a, java.lang.String r, java.lang.String tg, boolean m, int t, aos.jack.jak.event.Event e)
           
 ProtocolEvent create(int t, aos.jack.jak.event.Event e)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getDocumentation()
           
 java.lang.String getMessage()
           
 aos.apib.StreamerSupport getStreamer()
          Returns the StreamerSupport for the object implementing this interface.
 java.lang.Object getVariable(int n)
          Gets the numbered Object variable.
 int hashCode()
           
 void init(aos.jack.jak.event.Event e)
           
 void printit(java.lang.String s)
           
 void process()
           
 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.MessageEvent
getReply, lostReply, replied, traceReceived, traceSent
 
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, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProtocolEvent

public ProtocolEvent()
Method Detail

getStreamer

public aos.apib.StreamerSupport getStreamer()
Description copied from interface: aos.apib.Base
Returns the StreamerSupport for the object implementing this interface.

Specified by:
getStreamer in interface aos.apib.Base

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object o)

getMessage

public java.lang.String getMessage()

printit

public void printit(java.lang.String s)

init

public void init(aos.jack.jak.event.Event e)

cleanup

public void cleanup()

process

public void process()

getDocumentation

public java.lang.String getDocumentation()

set

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

create

public ProtocolEvent create(aos.jack.jak.agent.Agent a,
                            java.lang.String r,
                            java.lang.String tg,
                            boolean m,
                            int t,
                            aos.jack.jak.event.Event e)

create

public ProtocolEvent create(int t,
                            aos.jack.jak.event.Event e)

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