ie.nuigalway.ecrg.jade.jmsagentgateway
Class JmsProxyAgent.HandlePublishMessage

java.lang.Object
  |
  +--jade.core.behaviours.Behaviour
        |
        +--jade.core.behaviours.SimpleBehaviour
              |
              +--jade.core.behaviours.OneShotBehaviour
                    |
                    +--ie.nuigalway.ecrg.jade.jmsagentgateway.JmsProxyAgent.HandlePublishMessage
All Implemented Interfaces:
jade.util.leap.Serializable, java.io.Serializable
Enclosing class:
JmsProxyAgent

class JmsProxyAgent.HandlePublishMessage
extends jade.core.behaviours.OneShotBehaviour

Handler for publishing messages

Version:
0.5 12 January 2004
Author:
Edward Curry created 08 December 2003 * *

Nested Class Summary
 
Nested classes inherited from class jade.core.behaviours.Behaviour
jade.core.behaviours.Behaviour.RunnableChangedEvent
 
Field Summary
private  jade.lang.acl.ACLMessage request
           
 
Fields inherited from class jade.core.behaviours.Behaviour
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING
 
Constructor Summary
(package private) JmsProxyAgent.HandlePublishMessage(jade.core.Agent a, jade.lang.acl.ACLMessage request)
          Constructor for the HandlePublishMessage object
 
Method Summary
 void action()
          Action to republish message
 
Methods inherited from class jade.core.behaviours.OneShotBehaviour
done
 
Methods inherited from class jade.core.behaviours.SimpleBehaviour
reset
 
Methods inherited from class jade.core.behaviours.Behaviour
actionWrapper, block, block, getBehaviourName, getDataStore, handle, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

private jade.lang.acl.ACLMessage request
Constructor Detail

JmsProxyAgent.HandlePublishMessage

JmsProxyAgent.HandlePublishMessage(jade.core.Agent a,
                                   jade.lang.acl.ACLMessage request)
Constructor for the HandlePublishMessage object

Parameters:
a - Parent agent
request - Message to republish
Method Detail

action

public void action()
Action to republish message

Specified by:
action in class jade.core.behaviours.Behaviour