Package org.jboss.remoting

Examples of org.jboss.remoting.Client.disconnect()


     
      // Verify that TestClassLoader has been queried.
      assertTrue(tcl.visited);
      log.info("context classloader has been queried");
     
      client.disconnect();
      shutdownServer();
      log.info(getName() + " PASSES");
   }
  
  
View Full Code Here


      assertEquals(4, handler.finishedCount);
     
      Thread.sleep(3000);
      assertEquals(5, handler.finishedCount);
     
      client.disconnect();
      connector.stop();
      log.info(getName() + " PASSES");
   }

  
View Full Code Here

     
      // Verify that TestClassLoader has been queried.
      assertTrue(tcl.visited);
      log.info("context classloader has been queried");
     
      client.disconnect();
      shutdownServer();
      log.info(getName() + " PASSES");
   }
  
   protected String getTransport()
View Full Code Here

      // of the invocations might go out over preexisting pooled connections
      // and have to wait for the handler to finish the previous invocation.
      Thread.sleep(6000);
      assertEquals(6, handler.startedCount);
     
      client.disconnect();
      connector.stop();
      log.info(getName() + " PASSES");
   }
  
  
View Full Code Here

              
              
               // Set disconnectTimeout to 0.
               log.info("calling client.disconnect()");
               client.setDisconnectTimeout(0);
               client.disconnect();
               log.info("returned from client.disconnect()");
            }
            catch (Throwable e)
            {
               log.info("error in client.disconnect()", e);
View Full Code Here

      for (int i = 0; i < INVOCATIONS; i++)
      {
         assertTrue("failure in thread: " + i, threads[i].ok);
      }
     
      client.disconnect();
      connector.stop();
      log.info(getName() + " PASSES");
   }
  
  
View Full Code Here

      assertTrue(ConfigTestUnmarshaller.ok(false, 0));
      assertTrue(LocatorTestMarshaller.ok());
      assertTrue(LocatorTestUnmarshaller.ok());
      assertEquals(1, callbackHandler.counter);
     
      client.disconnect();
      shutdownServer();
      log.info(getName() + " PASSES");
   }
  
  
View Full Code Here

      Object pool = field.get(connector.getServerInvoker());
      assertTrue(pool instanceof BasicThreadPool);
      BasicThreadPool basicThreadPool = (BasicThreadPool) pool;
      assertEquals(poolCounter, basicThreadPool.getPoolNumber());
     
      client.disconnect();
      connector.stop();
      log.info(getName() + " PASSES");
   }
  
  
View Full Code Here

      assertTrue(ConfigTestUnmarshaller.ok(false, 0));
      assertTrue(LocatorTestMarshaller.ok());
      assertTrue(LocatorTestUnmarshaller.ok());
      assertEquals(1, callbackHandler.counter);
     
      client.disconnect();
      shutdownServer();
      log.info(getName() + " PASSES");
   }
  
  
View Full Code Here

              
              
               // Set disconnectTimeout to 1 second.
               log.info("calling client.disconnect()");
               client.setDisconnectTimeout(shortTimeout());
               client.disconnect();
               log.info("returned from client.disconnect()");
            }
            catch (Throwable e)
            {
               log.info("error in client.disconnect()", e);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.