vs.plotagent.behaviour
Class InitiateSubscriptionBehaviour
java.lang.Object
jade.core.behaviours.Behaviour
jade.core.behaviours.CompositeBehaviour
jade.core.behaviours.SerialBehaviour
jade.core.behaviours.FSMBehaviour
jade.proto.SubscriptionInitiator
vs.plotagent.behaviour.InitiateSubscriptionBehaviour
- All Implemented Interfaces:
- java.io.Serializable
public class InitiateSubscriptionBehaviour
- extends jade.proto.SubscriptionInitiator
A behaviour for the Plot Agent to SUBSCRIBE to other agents
entering the MAS.
- See Also:
- Serialized Form
Fields inherited from class jade.proto.SubscriptionInitiator |
ALL_RESPONSES_KEY, ALL_SUBSCRIPTIONS_KEY, REPLY_KEY, SUBSCRIPTION_KEY |
Fields inherited from class jade.core.behaviours.Behaviour |
STATE_BLOCKED, STATE_READY, STATE_RUNNING |
Methods inherited from class jade.proto.SubscriptionInitiator |
cancel, cancellationCompleted, registerHandleAgree, registerHandleAllResponses, registerHandleInform, registerHandleRefuse, registerPrepareSubscriptions |
Methods inherited from class jade.core.behaviours.FSMBehaviour |
deregisterState, getChildren, getLastExitValue, getName, getState, registerDefaultTransition, registerDefaultTransition, registerFirstState, registerLastState, registerState, registerTransition, registerTransition, resetStates |
Methods inherited from class jade.core.behaviours.CompositeBehaviour |
action, block, done, restart, setAgent |
Methods inherited from class jade.core.behaviours.Behaviour |
actionWrapper, block, getBehaviourName, getDataStore, getExecutionState, isRunnable, root, setBehaviourName, setExecutionState |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitiateSubscriptionBehaviour
public InitiateSubscriptionBehaviour(jade.core.Agent a,
java.lang.String serviceType)
cancelSubscription
public void cancelSubscription()
- Cancels the subscription
onEnd
public int onEnd()
- Overrides:
onEnd
in class jade.core.behaviours.FSMBehaviour
registerHandleNotUnderstood
public void registerHandleNotUnderstood(jade.core.behaviours.Behaviour arg0)
registerHandleFailure
public void registerHandleFailure(jade.core.behaviours.Behaviour arg0)
registerHandleOutOfSequence
public void registerHandleOutOfSequence(jade.core.behaviours.Behaviour arg0)
reset
public void reset()
- Overrides:
reset
in class jade.core.behaviours.FSMBehaviour
reset
public void reset(jade.lang.acl.ACLMessage arg0)
onStart
public void onStart()
- Overrides:
onStart
in class jade.core.behaviours.Behaviour
setDataStore
public void setDataStore(jade.core.behaviours.DataStore arg0)
- Overrides:
setDataStore
in class jade.core.behaviours.Behaviour