protocols


 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://jadex.sourceforge.net/jadex
                     http://jadex.sourceforge.net/jadex-0.96.xsd"
 package="jadex.planlib"
 name="Protocols">

 
  jadex.adapter.fipa.*
  java.util.*
  jadex.runtime.*
  jadex.runtime.impl.*
 

 
  
  
   (Integer)$propertybase.getProperty("standard.timeout")
  

  

  
  
   IFilter.NEVER
  

  
  
   IFilter.NEVER
  

  
  
  
   IFilter.NEVER
  

  
  
  
   IFilter.NEVER
  

  
  
  
   IFilter.NEVER
  

  
  
   
    new ComposedFilter(new IFilter[]
    {
     $beliefbase.rp_filter,
     $beliefbase.cnp_filter,
     $beliefbase.icnp_filter,
     $beliefbase.ea_filter,
     $beliefbase.da_filter
    }, ComposedFilter.OR)
   

  

 

 
 
  

  
  
   
   
   
   
   
   
   
   
   
   
   
   
   
   
    new InteractionState()
   

  

  
  
   
   
   
   
   
   
    new InteractionState()
   

   
   
  

  
  
   
   
   
   
   
   
  

  
  
   
   
   
   
   
   
  

  

  
  
   
   
   
   
   
   
   
   
   
   
   
   
    Boolean.FALSE
   

   
   
    new InteractionState()
   

   
   
   
   
   
   
  

  
  
  
   
   
   
   
   
   
    
     ($goal.acceptables.length>0 ||
     (select one ParticipantProposal $prop from $goal.proposals
     where $prop.getEvaluation()==null)==null) ? true : null
    

   

   
   
   
   
   
   
  

  
  
   
   
   
   
   
   
    new InteractionState()
   

   
   
  

  
  
   
   
   
   
   
   
   
   
  

  
  
   
   
   
   
   
   
   
   
  

  
  

  
  
   
   
   
   
   
   
   
   
   
   
   
   
    Boolean.FALSE
   

   
   
    new InteractionState()
   

   
   
   
   
   
   
  

  
  
  
   
   
   
   
   
   
    
     ($goal.acceptables.length>0 ||
     (select one ParticipantProposal $prop from $goal.proposals
     where $prop.getEvaluation()==null)==null) ? true : null
    

   

   
   
   
   
   
   
  

  
  
  
   
   
   
   
   
   
   
   
   
   
   
   
  

  
  
   
   
   
   
   
   
    new InteractionState()
   

   
   
  

  
  
   
   
   
   
   
   
   
   
  

  
  
   
   
   
   
   
   
   
   
  

  
  

  
  
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
    new InteractionState()
   

   
   
  

  
  
  
   
   
   
   
   
   
  

  
  
  
   
   
   
   
   
   
   
   
   
   
   
   
  

  
  
  
   
   
   
   
   
   
    new InteractionState()
   

   
   
  

  
    
  
   
   
   
   
   
   
   
   
  

        
  
  
   
   
   
   
   
   
   
   
   
   
   
   
  

  
  

  
  
   
   
   
   
   
   
   
   
   
   
   
   
   
   
    new InteractionState()
   

   
   
  

  
  
  
   
   
   
   
   
   
  

    
  
  
   
   
   
   
   
   
    new InteractionState()
   

   
   
  

  
    
  
   
   
   
   
   
   
   
   
  
  
        
  
  
   
   
   
   
   
   
   
   
   
   
   
   
  

  

  
  
   
   
   
   
   
   
    new InteractionState()
   

   
   
  

  
  
  
   
   
   
   
   
   
   
   
   
   
  

  

  
  
   
   
   
   
   
   
   
   
  

 

 
  
  
   
    "rp_receiver_interaction"
   

   
   
   
    
   

  

  
  
  
   
    "cnp_receiver_interaction"
   

   
   
   
    
   

  

  
  
  
   
    "icnp_receiver_interaction"
   

   
   
   
    
   

  

  
  
  
   
    "ea_receiver_interaction"
   

   
   
   
    
   

  

  
  
  
   
    "da_receiver_interaction"
   

   
   
   
    
   

  

 
  
   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
   
   
    
   

  

  
   
    
    
   

   
    
    
   

   
    
    
   

   
    
    
   

   
   
   
    
    
     SFipa.PROTOCOL_REQUEST.equals($goal.message.getParameter(SFipa.PROTOCOL).getValue())
    

   

  

  
   
    Boolean.FALSE
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
   
   
    
   

  

  
  
   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
   
    
   

   $goal.cfp_info instanceof IProposalEvaluator
  

  
   
    Boolean.FALSE
   

   
    
    
   

   
    
    
   

   
    
    
   

   
    
    
   

   
   
   
    
    
     SFipa.PROTOCOL_CONTRACT_NET.equals($goal.message.getParameter(SFipa.PROTOCOL).getValue())
    

   

  

  
  
   
    Boolean.TRUE
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
   
   
    
   

  

  
  
   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
   
    
   

   $goal.cfp_info instanceof IProposalEvaluator
  

  
  
   
    
   

   
    
   

   
    
   
   
   
    
   

   
    
   

   
    
   

   
   
    
   

   $goal.cfp_info instanceof IQueryNextroundInfo
  

  
   
    Boolean.TRUE
   

   
    
    
   

   
    
    
   

   
    
    
   

   
    
    
   

   
   
   
    
    
     SFipa.PROTOCOL_ITERATED_CONTRACT_NET.equals($goal.message.getParameter(SFipa.PROTOCOL).getValue())
    

   

  

  
    
   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
   
   
    
   

  
  
    
  
   
    
    
   

   
    
    
   

   
    
    
   

   
    
    
   

   
   
   
    
    
     SFipa.PROTOCOL_ENGLISH_AUCTION.equals($goal.message.getParameter(SFipa.PROTOCOL).getValue())
    

   

  

    
    
   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
    
   

   
   
   
    
   

  
  
  
  
   
    
    
   

   
    
    
   

   
    
    
   

   
    
    
   

   
   
   
    
    
     SFipa.PROTOCOL_DUTCH_AUCTION.equals($goal.message.getParameter(SFipa.PROTOCOL).getValue())
    

   

  

  
  
  
  
  
   
    "cm_receiver_interaction"
   

   
   
   
    
   

  
  
  
  
  
   
    
    
   

   
   
   
    
    
     SFipa.PROTOCOL_CANCEL_META.equals($goal.message.getParameter(SFipa.PROTOCOL).getValue())
    

   

  

  
  
  
   
    
   

   
   
   
    
   

  

  
 

 
  
   
    SFipa.REQUEST
   

   
    SFipa.PROTOCOL_REQUEST
   

   
    SFipa.createUniqueId($scope.getAgentName())
   

   
   
    SFipa.NUGGETS_XML
   

   $beliefbase.rp_filter.filter($messagemap) && $messagemap.get("$conversation_id")!=null
  

  
   
    SFipa.AGREE
   

   
    SFipa.PROTOCOL_REQUEST
   

   
    SFipa.NUGGETS_XML
    

    $messagemap.get("$conversation_id")!=null
  

  
   
    SFipa.REFUSE
   

   
    SFipa.PROTOCOL_REQUEST
   

   
    SFipa.NUGGETS_XML
    

    $messagemap.get("$conversation_id")!=null
  

  
   
    SFipa.FAILURE
   

   
    SFipa.PROTOCOL_REQUEST
   

   
    SFipa.NUGGETS_XML
    

    $messagemap.get("$conversation_id")!=null
  

  
   
    SFipa.NOT_UNDERSTOOD
   

   
    SFipa.PROTOCOL_REQUEST
   

   
    SFipa.NUGGETS_XML
    

    $messagemap.get("$conversation_id")!=null
  

  
   
    SFipa.INFORM
   

   
    SFipa.PROTOCOL_REQUEST
   

   
    SFipa.NUGGETS_XML
    

    $messagemap.get("$conversation_id")!=null
  

  

  
   
    SFipa.CFP
   

   
    SFipa.PROTOCOL_CONTRACT_NET
   

   
   
    SFipa.createUniqueId($scope.getAgentName())
   

   
   
    SFipa.NUGGETS_XML
    

   $beliefbase.cnp_filter.filter($messagemap) && $messagemap.get("$conversation_id")!=null
  

  
   
    SFipa.PROPOSE
   

   
    SFipa.PROTOCOL_CONTRACT_NET
   

   
    SFipa.NUGGETS_XML
    

    $messagemap.get("$conversation_id")!=null
  

  
   
    SFipa.REFUSE
   

   
    SFipa.PROTOCOL_CONTRACT_NET
   

   
    SFipa.NUGGETS_XML
    

    $messagemap.get("$conversation_id")!=null
  

  
   
    SFipa.REJECT_PROPOSAL
   

   
    SFipa.PROTOCOL_CONTRACT_NET
   

   
    SFipa.NUGGETS_XML
    

    $messagemap.get("$conversation_id")!=null
  

你可能感兴趣的:(jade,.net)