Package org.serviceconnector.ctrl.util

Examples of org.serviceconnector.ctrl.util.ServerDefinition


  }
 
  public static void setUpServer() {
    // need two publish server here
    List<ServerDefinition> srvToSC0CascDefs = new ArrayList<ServerDefinition>();
    ServerDefinition srv1ToSC0CascDef = new ServerDefinition(TestConstants.COMMUNICATOR_TYPE_PUBLISH,
        TestConstants.log4jSrvProperties, TestConstants.pubServerName1, TestConstants.PORT_PUB_SRV_TCP,
        TestConstants.PORT_SC0_TCP, 10, 5, TestConstants.pubServerName1);
    ServerDefinition srv2ToSC0CascDef = new ServerDefinition(TestConstants.COMMUNICATOR_TYPE_PUBLISH,
        TestConstants.log4jSrvProperties, TestConstants.pubServiceName2, 30002, TestConstants.PORT_SC0_TCP, 10, 5,
        TestConstants.pubServiceName2);
    srvToSC0CascDefs.add(srv1ToSC0CascDef);
    srvToSC0CascDefs.add(srv2ToSC0CascDef);
    SystemSuperTest.srvDefs = srvToSC0CascDefs;
View Full Code Here


  }

  public static void setUpServer() {
    // need two publish server here
    List<ServerDefinition> srvToSC0CascDefs = new ArrayList<ServerDefinition>();
    ServerDefinition srv1ToSC0CascDef = new ServerDefinition(TestConstants.COMMUNICATOR_TYPE_PUBLISH,
        TestConstants.log4jSrvProperties, TestConstants.pubServerName1, TestConstants.PORT_PUB_SRV_TCP,
        TestConstants.PORT_SC1_TCP, 10, 5, TestConstants.pubServerName1);
    ServerDefinition srv2ToSC0CascDef = new ServerDefinition(TestConstants.COMMUNICATOR_TYPE_PUBLISH,
        TestConstants.log4jSrvProperties, TestConstants.pubServiceName2, 30002, TestConstants.PORT_SC1_TCP, 10, 5,
        TestConstants.pubServiceName2);
    srvToSC0CascDefs.add(srv1ToSC0CascDef);
    srvToSC0CascDefs.add(srv2ToSC0CascDef);
    SystemSuperTest.srvDefs = srvToSC0CascDefs;
View Full Code Here

  }

  public static void setUpServer() {
    // needs a server with 1 session/connection
    List<ServerDefinition> srvToSC0CascDefs = new ArrayList<ServerDefinition>();
    ServerDefinition srvToSC0CascDef = new ServerDefinition(TestConstants.COMMUNICATOR_TYPE_SESSION,
        TestConstants.log4jSrvProperties, TestConstants.sesServerName1, TestConstants.PORT_SES_SRV_TCP,
        TestConstants.PORT_SC0_TCP, 3, 2, TestConstants.sesServiceName1);
    srvToSC0CascDefs.add(srvToSC0CascDef);
    SystemSuperTest.srvDefs = srvToSC0CascDefs;
  }
View Full Code Here

  }

  public static void setUpServer() {
    // needs a server with 1 session/connection
    List<ServerDefinition> srvToSC0CascDefs = new ArrayList<ServerDefinition>();
    ServerDefinition srvToSC0CascDef = new ServerDefinition(TestConstants.COMMUNICATOR_TYPE_SESSION,
        TestConstants.log4jSrvProperties, TestConstants.sesServerName1, TestConstants.PORT_SES_SRV_TCP,
        TestConstants.PORT_SC0_TCP, 3, 2, TestConstants.sesServiceName1);
    srvToSC0CascDefs.add(srvToSC0CascDef);
    SystemSuperTest.srvDefs = srvToSC0CascDefs;
  }
View Full Code Here

  public SCMPClnCreateSessionCasc2Test() {
    SCMPClnCreateSessionCasc2Test.setUp2CascadedServiceConnectorAndServer();
    // server definitions
    List<ServerDefinition> srvToSC0Defs = new ArrayList<ServerDefinition>();
    ServerDefinition srvToSC0Def = new ServerDefinition(TestConstants.COMMUNICATOR_TYPE_SESSION,
        TestConstants.log4jSrvProperties, TestConstants.sesServerName1, TestConstants.PORT_SES_SRV_TCP,
        TestConstants.PORT_SC0_TCP, 3, 2, TestConstants.sesServiceName1);
    srvToSC0Defs.add(srvToSC0Def);
    SystemSuperTest.srvDefs = srvToSC0Defs;
  }
View Full Code Here

  }

  public static void setUpServer() {
    // need to have a publish service here
    List<ServerDefinition> srvToSC0CascDefs = new ArrayList<ServerDefinition>();
    ServerDefinition srvToSC0CascDef = new ServerDefinition(TestConstants.COMMUNICATOR_TYPE_PUBLISH,
        TestConstants.log4jSrvProperties, TestConstants.pubServerName1, TestConstants.PORT_PUB_SRV_TCP,
        TestConstants.PORT_SC0_TCP, 1, 1, TestConstants.pubServiceName1);
    srvToSC0CascDefs.add(srvToSC0CascDef);
    SystemSuperTest.srvDefs = srvToSC0CascDefs;
  }
View Full Code Here

  }

  public static void setUpServer() {
    // needs a server with 1 session/connection
    List<ServerDefinition> srvToSC0CascDefs = new ArrayList<ServerDefinition>();
    ServerDefinition srvToSC0CascDef = new ServerDefinition(TestConstants.COMMUNICATOR_TYPE_SESSION,
        TestConstants.log4jSrvProperties, TestConstants.sesServerName1, TestConstants.PORT_SES_SRV_TCP,
        TestConstants.PORT_SC0_TCP, 3, 2, TestConstants.sesServiceName1);
    srvToSC0CascDefs.add(srvToSC0CascDef);
    SystemSuperTest.srvDefs = srvToSC0CascDefs;
  }
View Full Code Here

  }

  public static void setUpServer() {
    // need to have a publish service here
    List<ServerDefinition> srvToSC0CascDefs = new ArrayList<ServerDefinition>();
    ServerDefinition srvToSC0CascDef = new ServerDefinition(TestConstants.COMMUNICATOR_TYPE_PUBLISH,
        TestConstants.log4jSrvProperties, TestConstants.pubServerName1, TestConstants.PORT_PUB_SRV_TCP,
        TestConstants.PORT_SC0_TCP, 2, 2, TestConstants.pubServiceName1);
    srvToSC0CascDefs.add(srvToSC0CascDef);
    SystemSuperTest.srvDefs = srvToSC0CascDefs;
  }
View Full Code Here

  }

  public static void setUpServer() {
    // need to have a server serving 3 sessions here
    List<ServerDefinition> srvToSC0CascDefs = new ArrayList<ServerDefinition>();
    ServerDefinition srvToSC0CascDef = new ServerDefinition(TestConstants.COMMUNICATOR_TYPE_PUBLISH,
        TestConstants.log4jSrvProperties, TestConstants.pubServerName1, TestConstants.PORT_PUB_SRV_TCP,
        TestConstants.PORT_SC0_TCP, 3, 3, TestConstants.pubServiceName1);
    srvToSC0CascDefs.add(srvToSC0CascDef);
    SystemSuperTest.srvDefs = srvToSC0CascDefs;
  }
View Full Code Here

  public SCMPClnCreateSessionCasc1Test() {
    SCMPClnCreateSessionCasc1Test.setUp1CascadedServiceConnectorAndServer();
    // server definitions needs to be different
    List<ServerDefinition> srvToSC0Defs = new ArrayList<ServerDefinition>();
    ServerDefinition srvToSC0Def = new ServerDefinition(TestConstants.COMMUNICATOR_TYPE_SESSION,
        TestConstants.log4jSrvProperties, TestConstants.sesServerName1, TestConstants.PORT_SES_SRV_TCP,
        TestConstants.PORT_SC0_TCP, 3, 2, TestConstants.sesServiceName1);
    srvToSC0Defs.add(srvToSC0Def);
    SystemSuperTest.srvDefs = srvToSC0Defs;
  }
View Full Code Here

TOP

Related Classes of org.serviceconnector.ctrl.util.ServerDefinition

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.