Package org.mokai.connector.smpp

Examples of org.mokai.connector.smpp.SmppServerConfiguration


  @Test
  public void shouldBindAndProduceMessage() throws Exception {
    MockMessageProducer messageProducer = new MockMessageProducer();

    SmppServerConfiguration configuration = new SmppServerConfiguration();
    configuration.addUser("test", "test");

    SmppServerConnector connector = new SmppServerConnector(configuration);
    injectResource(messageProducer, connector);
    injectResource(buildConnectorContext("test"), connector);
    connector.configure();
View Full Code Here


    connector.doStop();
  }

  @Test
  public void shouldFailToBindIfBadPassword() throws Exception {
    SmppServerConfiguration configuration = new SmppServerConfiguration();
    configuration.addUser("test", "test");

    SmppServerConnector connector = new SmppServerConnector(configuration);
    connector.configure();
    connector.doStart();
View Full Code Here

    connector.doStop();
  }

  @Test
  public void shouldProduceDeliverSm() throws Exception {
    SmppServerConfiguration configuration = new SmppServerConfiguration();
    configuration.addUser("test", "test");

    final SmppServerConnector connector = new SmppServerConnector(configuration);
    injectResource(buildConnectorContext("test"), connector);
    connector.configure();
    connector.doStart();
View Full Code Here

    connector.doStop();
  }

  @Test
  public void shouldProduceDeliveryReceipt() throws Exception {
    SmppServerConfiguration configuration = new SmppServerConfiguration();
    configuration.addUser("test", "test");

    final SmppServerConnector connector = new SmppServerConnector(configuration);
    injectResource(buildConnectorContext("test"), connector);
    connector.configure();
    connector.doStart();
View Full Code Here

TOP

Related Classes of org.mokai.connector.smpp.SmppServerConfiguration

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.