Package jade.tools.applet
Class FIPAAppletRequestProto
- java.lang.Object
-
- jade.tools.applet.FIPAAppletRequestProto
-
public class FIPAAppletRequestProto extends Object
This class extends the AppletRequestProto in order to send a request for a FIPA Action.- Version:
- $Date$ $Revision$
- Author:
- Tiziana Trucco - CSELT S.p.A.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFIPAAppletRequestProto.NotYetReady
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoProto()This method starts the protocol.ListgetSearchResult()Returns the results of a search operation.protected voidhandleAgree(ACLMessage msg)This method can be overriden by the programmer in order to handle the received agree message.protected voidhandleFailure(ACLMessage msg)This method can be overriden by the programmer in order to handle the failure message received.voidhandleInform(ACLMessage msg)This method can be overriden by the programmer in order to handle the inform message received.protected voidhandleNotUnderstood(ACLMessage msg)This method can be overriden by the programmer in order to handle the notUnderstood message received.protected voidhandleOtherMessage(ACLMessage msg)This method can be overriden by the programmer in order to handle the message not stated by the protocol eventually received.protected voidhandleRefuse(ACLMessage msg)This method can be overriden by the programmer in order to handle the refuse message received.
-
-
-
Method Detail
-
getSearchResult
public List getSearchResult() throws FIPAException, FIPAAppletRequestProto.NotYetReady
Returns the results of a search operation.
-
handleInform
public void handleInform(ACLMessage msg)
This method can be overriden by the programmer in order to handle the inform message received.
-
handleAgree
protected void handleAgree(ACLMessage msg)
This method can be overriden by the programmer in order to handle the received agree message.
-
handleNotUnderstood
protected void handleNotUnderstood(ACLMessage msg)
This method can be overriden by the programmer in order to handle the notUnderstood message received.
-
handleOtherMessage
protected void handleOtherMessage(ACLMessage msg)
This method can be overriden by the programmer in order to handle the message not stated by the protocol eventually received.
-
handleRefuse
protected void handleRefuse(ACLMessage msg)
This method can be overriden by the programmer in order to handle the refuse message received.
-
handleFailure
protected void handleFailure(ACLMessage msg)
This method can be overriden by the programmer in order to handle the failure message received.
-
doProto
public void doProto()
This method starts the protocol.
-
-