test_class.file: demos/sum/src/test/java/dk/alexandra/fresco/demo/TestInputSumExample.java
test_class.identifier: TestInputSumExample
test_case.body: @Test
    public void testInputCmdLine() throws Exception {
      Runnable p1 = () -> {
        try {
          InputSumExample.main(
              new String[]{"-i", "1", "-p", "1:localhost:8081", "-p", "2:localhost:8082", "-s",
                  "dummyArithmetic"});
        } catch (IOException e) {
          System.exit(-1);
        }
      };
  
      Runnable p2 = () -> {
        try {
          InputSumExample.main(
              new String[]{"-i", "2", "-p", "1:localhost:8081", "-p", "2:localhost:8082", "-s",
                  "dummyArithmetic"});
        } catch (IOException e) {
          System.exit(-1);
        }
      };
      Thread t1 = new Thread(p1);
      Thread t2 = new Thread(p2);
      t1.start();
      t2.start();
      t1.join();
      t2.join();
    }
test_case.class_method_signature: TestInputSumExample.testInputCmdLine()
test_case.full_signature: @Test public void testInputCmdLine()
test_case.identifier: testInputCmdLine
test_case.invocations: main exit main exit start start join join
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInputCmdLine()
focal_class.file: demos/sum/src/main/java/dk/alexandra/fresco/demo/InputSumExample.java
focal_class.identifier: InputSumExample
focal_class.class_method_signature: InputSumExample.InputSumExample()
focal_class.full_signature: public  InputSumExample()
focal_class.identifier: InputSumExample
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  InputSumExample()
focal_class.class_method_signature: InputSumExample.runApplication(
        SecureComputationEngine<ResourcePoolT, ProtocolBuilderNumeric> sce,
        ResourcePoolT resourcePool, Network network)
focal_class.full_signature: public void runApplication(
        SecureComputationEngine<ResourcePoolT, ProtocolBuilderNumeric> sce,
        ResourcePoolT resourcePool, Network network)
focal_class.identifier: runApplication
focal_class.modifiers: public
focal_class.parameters: (
        SecureComputationEngine<ResourcePoolT, ProtocolBuilderNumeric> sce,
        ResourcePoolT resourcePool, Network network)
focal_class.return: void
focal_class.signature: void runApplication(
        SecureComputationEngine<ResourcePoolT, ProtocolBuilderNumeric> sce,
        ResourcePoolT resourcePool, Network network)
focal_class.class_method_signature: InputSumExample.main(String[] args)
focal_class.full_signature: public static void main(String[] args)
focal_class.identifier: main
focal_class.modifiers: public static
focal_class.parameters: (String[] args)
focal_class.return: void
focal_class.signature: void main(String[] args)
focal_method.body: public static <ResourcePoolT extends ResourcePool> void main(String[] args) throws IOException {
      CmdLineUtil<ResourcePoolT, ProtocolBuilderNumeric> util = new CmdLineUtil<>();
  
      util.parse(args);
  
      ProtocolSuite<ResourcePoolT, ProtocolBuilderNumeric> psConf = util.getProtocolSuite();
  
      SecureComputationEngine<ResourcePoolT, ProtocolBuilderNumeric> sce =
          new SecureComputationEngineImpl<>(psConf, util.getEvaluator());
  
      ResourcePoolT resourcePool = util.getResourcePool();
      new InputSumExample().runApplication(sce, resourcePool, util.getNetwork());
      
      util.closeNetwork();
      sce.shutdownSCE();
    }
focal_method.class_method_signature: InputSumExample.main(String[] args)
focal_method.full_signature: public static void main(String[] args)
focal_method.identifier: main
focal_method.invocations: parse getProtocolSuite getEvaluator getResourcePool runApplication getNetwork closeNetwork shutdownSCE
focal_method.modifiers: public static
focal_method.parameters: (String[] args)
focal_method.return: void
focal_method.signature: void main(String[] args)