1 7 package org.jboss.test.remoting.performance.asynchronous; 8 9 import org.jboss.test.remoting.performance.synchronous.Payload; 10 import org.jboss.test.remoting.performance.synchronous.PerformanceClientTest; 11 12 15 public class PerformanceServerSideClientTest extends PerformanceClientTest 16 { 17 protected void makeClientCall(String testInvocation, Payload payloadWrapper) throws Throwable 18 { 19 makeOnewayInvocation(testInvocation, payloadWrapper, false); 20 } 21 22 public static void main(String [] args) 23 { 24 PerformanceServerSideClientTest test = new PerformanceServerSideClientTest(); 25 try 26 { 27 test.setUp(); 28 test.testClientCalls(); 29 } 30 catch(Throwable throwable) 31 { 32 throwable.printStackTrace(); 33 } 34 finally 35 { 36 try 37 { 38 test.tearDown(); 39 } 40 catch(Exception e) 41 { 42 e.printStackTrace(); 43 } 44 } 45 } 46 } | Popular Tags |