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

« back to all changes in this revision

Viewing changes to src/tests/org/jboss/test/remoting/transport/bisocket/timeout/idle/BisocketInactiveIdleTimeoutTestServer.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.timeout.idle;
 
2
 
 
3
import org.jboss.test.remoting.transport.socket.timeout.idle.InactiveIdleTimeoutTestServer;
 
4
 
 
5
/**
 
6
 * This is just like IdleTimeoutTestServer except instead of
 
7
 * looking for server threads that are still in read mode waiting for
 
8
 * data from client, want to test for idle server threads that finished with
 
9
 * client/server connection and are just sitting in the thread pool waiting to
 
10
 * be re-used.
 
11
 *
 
12
 * @author <a href="mailto:telrod@e2technologies.net">Tom Elrod</a>
 
13
 */
 
14
public class BisocketInactiveIdleTimeoutTestServer extends InactiveIdleTimeoutTestServer
 
15
{
 
16
   protected String getTransport()
 
17
   {
 
18
      return "bisocket";
 
19
   }
 
20
   
 
21
   public static void main(String[] args) throws Throwable
 
22
   {
 
23
      BisocketInactiveIdleTimeoutTestServer rt = new BisocketInactiveIdleTimeoutTestServer();
 
24
      rt.setUp();
 
25
      Thread.sleep(45000);
 
26
      rt.tearDown();
 
27
   }
 
28
}