public class AsynchCompletionBehaviourHandler
extends alice.tucson.api.AbstractTucsonAgent
Constructor and Description |
---|
AsynchCompletionBehaviourHandler(java.lang.String id,
jade.core.GenericCommand c,
TucsonService s,
jade.core.Agent a,
jade.core.behaviours.Behaviour b) |
Modifier and Type | Method and Description |
---|---|
protected void |
main() |
void |
operationCompleted(alice.tuplecentre.core.AbstractTupleCentreOperation op) |
void |
operationCompleted(alice.tucson.api.ITucsonOperation arg0) |
public AsynchCompletionBehaviourHandler(java.lang.String id, jade.core.GenericCommand c, TucsonService s, jade.core.Agent a, jade.core.behaviours.Behaviour b) throws alice.tucson.api.exceptions.TucsonInvalidAgentIdException
id
- the id of this TuCSoN agentc
- the command to dispatch to the JADE middlewares
- the JADE service to interact witha
- the JADE agent this TuCSoN agent acts on behalf ofb
- the JADE Behaviour to handle resultalice.tucson.api.exceptions.TucsonInvalidAgentIdException
- if the given String is not a valid representation of a TuCSoN
agent idpublic void operationCompleted(alice.tuplecentre.core.AbstractTupleCentreOperation op)
operationCompleted
in interface alice.tuplecentre.core.OperationCompletionListener
operationCompleted
in class alice.tucson.api.AbstractTucsonAgent
public void operationCompleted(alice.tucson.api.ITucsonOperation arg0)
operationCompleted
in interface alice.tucson.api.TucsonOperationCompletionListener
operationCompleted
in class alice.tucson.api.AbstractTucsonAgent
protected void main()
main
in class alice.tucson.api.AbstractTucsonAgent