Package com.cisco.server

Examples of com.cisco.server.ServerStarter


  private static final int SLEEP_DEFAULT = 2000;
  private final ServerConfiguration serverConfiguration = new ServerConfiguration();
  private final TelnetTaskProcessorFactory processorTaskFactory = new TelnetTaskProcessorFactory();
  @Test
  public void testStartcancel() throws InterruptedException {
    final ServerStarter server = new ServerStarter(processorTaskFactory);
    server.start();
    sleep();
    server.stop();
    assertTrue(true); // Asserts that the server shutdown exists

  }
View Full Code Here

TOP

Related Classes of com.cisco.server.ServerStarter

Copyright © 2018 www.massapicom. 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.