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

« back to all changes in this revision

Viewing changes to tests/org/jboss/test/remoting/callback/push/unidirectional/http/HTTPCallbackPollTestServer.java

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2011-09-09 14:01:03 UTC
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: package-import@ubuntu.com-20110909140103-o8ucrolqt5g25k57
Tags: upstream-2.5.3.SP1
ImportĀ upstreamĀ versionĀ 2.5.3.SP1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
package org.jboss.test.remoting.callback.push.unidirectional.http;
2
 
 
3
 
import org.jboss.test.remoting.callback.push.unidirectional.CallbackPollTestServer;
4
 
 
5
 
/**
6
 
 * @author <a href="mailto:tom.elrod@jboss.com">Tom Elrod</a>
7
 
 */
8
 
public class HTTPCallbackPollTestServer extends CallbackPollTestServer
9
 
{
10
 
   public String getTransport()
11
 
   {
12
 
      return "http";
13
 
   }
14
 
 
15
 
   public static void main(String[] args)
16
 
   {
17
 
      HTTPCallbackPollTestServer server = new HTTPCallbackPollTestServer();
18
 
      try
19
 
      {
20
 
         server.setUp();
21
 
 
22
 
         Thread.sleep(600000);
23
 
      }
24
 
      catch (Exception e)
25
 
      {
26
 
         e.printStackTrace();
27
 
      }
28
 
   }
29
 
 
30
 
 
31
 
}