AnalyseProtocol.java 805 Bytes
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package CSP_ANALYSE;

import CSP_CREATOR.CreatorBehaviorProtocol;
import LOGIC.ObjectList;

/**
*
* @author sarah
*/
public class AnalyseProtocol {
private CheckerResult resultadoprotocol;
private AnalyseChecker checker;
private CreatorBehaviorProtocol creatProt;
public AnalyseProtocol(ObjectList obl, String prot, String dual_prot){
resultadoprotocol = new CheckerResult();
checker = new AnalyseChecker();
creatProt = new CreatorBehaviorProtocol(obl,prot, dual_prot);
creatProt.createBehaviorProtocol();
}
public CheckerResult takeResultProtocol(){
return checker.takeResultChecher();
}
}