Exemple #1
0
 public Test2ServiceTests(ProtocolVersion protocolVersion)
 {
     /*
      * test server is a `hessian-test.jar`
      * downloadable here:
      *     http://www.java2s.com/Code/JarDownload/hessian/hessian-test.jar.zip
      *  OR http://hessian.caucho.com/#Java
      */
     _service = new HttpClient()
                .HessianService <ITest2Service>(
         //new Uri("http://localhost:8080/hessian/test2"),
         new Uri("https://nhessian-hessian-test.herokuapp.com/hessian/test2"),
         TypeBindings.Java,
         protocolVersion);
 }
Exemple #2
0
 public TestController(ITestService testService,
                       ITest2Service test2Service)
 {
     _testService  = testService;
     _test2Service = test2Service;
 }
Exemple #3
0
 public TestService(ITest2Service test2Service)
 {
     _test2Service = test2Service;
 }