Package jade.domain.FIPAAgentManagement

Examples of jade.domain.FIPAAgentManagement.UnsupportedFunction


    // SHOW_GUI
    if (action instanceof ShowGui) {
      theDF.showGuiAction((ShowGui) action, request.getSender());
    }
    else {
      throw new UnsupportedFunction();
    }
   
    // Prepare the notification
    ACLMessage notification = request.createReply();
    notification.setPerformative(ACLMessage.INFORM);
View Full Code Here


    else if (action instanceof QueryAgentsOnLocation) {
      result = theAMS.queryAgentsOnLocationAction((QueryAgentsOnLocation) action, request.getSender());
      resultNeeded = true;
    }
    else {
      throw new UnsupportedFunction();
    }

    // Prepare the notification
    ACLMessage notification = request.createReply();
    notification.setPerformative(ACLMessage.INFORM);
View Full Code Here

    else if (action instanceof SearchOn) {
      theDF.searchOnAction((SearchOn) action, request.getSender());
      asynchNotificationRequired = true;
    }
    else {
      throw new UnsupportedFunction();
    }
   
    if (!asynchNotificationRequired) {
      // The requested action has been completed. Prepare the notification
      ACLMessage notification = request.createReply();
View Full Code Here

      action.setDescription((DFAgentDescription)description);

      act.setAction(action);
    }
    else
    throw new UnsupportedFunction();


     // initialize SL0 Codec and FIPAAgentManagementOntology
     //FIXME for applet I have not the agent c = sender.lookupLanguage(SL0Codec.NAME);
     //if (c == null)
View Full Code Here

TOP

Related Classes of jade.domain.FIPAAgentManagement.UnsupportedFunction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.