1 7 package org.jboss.remoting; 8 9 import org.jboss.dtf.DistributedTestCase; 10 11 17 public abstract class AbstractInvokerTest extends DistributedTestCase 18 { 19 protected int port = 8081; 20 protected String transport = "socket"; 21 22 public AbstractInvokerTest(String name) 23 { 24 super(name); 25 } 26 27 public AbstractInvokerTest(String name, int numberOfInstances) 28 { 29 super(name); 30 init(numberOfInstances); 31 } 32 33 public AbstractInvokerTest(String name, String transport, int port) 34 { 35 super(name); 36 this.transport = transport; 37 this.port = port; 38 } 39 40 public AbstractInvokerTest(String name, String transport, int port, int numberOfInstances) 41 { 42 super(name); 43 this.transport = transport; 44 this.port = port; 45 init(numberOfInstances); 46 } 47 48 public String getTransport() 49 { 50 return transport; 51 } 52 53 public int getPort() 54 { 55 return port; 56 } 57 } 58 | Popular Tags |