~ubuntu-branches/ubuntu/raring/libjboss-remoting-java/raring

« back to all changes in this revision

Viewing changes to tests/org/jboss/test/remoting/transport/bisocket/ssl/builder/SSLBisocketInvokerTestServer.java

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2011-09-09 14:01:03 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: package-import@ubuntu.com-20110909140103-hqokx61534tas9rg
Tags: 2.5.3.SP1-1
* Newer but not newest upstream release. Do not build samples.
* Change debian/watch to upstream's svn repo.
* Add patch to fix compile error caused by tomcat update.
  (Closes: #628303)
* Switch to source format 3.0.
* Switch to debhelper level 7.
* Remove useless Depends.
* Update Standards-Version: 3.9.2.
* Update README.source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
package org.jboss.test.remoting.transport.bisocket.ssl.builder;
2
 
 
3
 
import org.jboss.test.remoting.transport.bisocket.ssl.SSLBisocketInvokerConstants;
4
 
import org.jboss.test.remoting.transport.socket.ssl.builder.SSLSocketInvokerTestServer;
5
 
 
6
 
/**
7
 
 * This is the server for the test case to verify can have push callbacks using ssl where
8
 
 * the client mode is used for the client calling back on the callback server living within the
9
 
 * client test instance.
10
 
 *
11
 
 * @author <a href="mailto:tom.elrod@jboss.com">Tom Elrod</a>
12
 
 * @author <a href="mailto:ron.sigal@jboss.com">Ron Sigal</a>
13
 
 */
14
 
public class SSLBisocketInvokerTestServer
15
 
   extends SSLSocketInvokerTestServer
16
 
   implements SSLBisocketInvokerConstants
17
 
{
18
 
 
19
 
   public static void main(String[] args)
20
 
   {
21
 
      SSLBisocketInvokerTestServer server = new SSLBisocketInvokerTestServer();
22
 
      try
23
 
      {
24
 
         server.setUp();
25
 
 
26
 
         Thread.sleep(600000);
27
 
      }
28
 
      catch (Exception e)
29
 
      {
30
 
         e.printStackTrace();
31
 
      }
32
 
   }
33
 
 
34
 
   protected String getTransport()
35
 
   {
36
 
      return "sslbisocket";
37
 
   }
38
 
   
39
 
   protected int getPort()
40
 
   {
41
 
      return bisocketPort + 7;
42
 
   }
43
 
}