Package org.jsmpp.bean

Examples of org.jsmpp.bean.TypeOfNumber


    assertEquals(100, sendTimeout);

    ExtendedSmppSession session = TestUtils.getPropertyValue(gateway, "smppSession", ExtendedSmppSession.class);
    assertNotNull(session);

    TypeOfNumber ton = TestUtils.getPropertyValue(gateway, "defaultSourceAddressTypeOfNumber", TypeOfNumber.class);
    assertEquals(ton, TypeOfNumber.NETWORK_SPECIFIC);

    String sourceAddress = TestUtils.getPropertyValue(gateway, "defaultSourceAddress", String.class);
    assertEquals("123456789", sourceAddress);
View Full Code Here


    final SmppOutboundChannelAdapter gateway = TestUtils.getPropertyValue(this.consumer, "handler", SmppOutboundChannelAdapter.class);

    ExtendedSmppSession session = TestUtils.getPropertyValue(gateway, "smppSession", ExtendedSmppSession.class);
    assertNotNull(session);

    TypeOfNumber ton = TestUtils.getPropertyValue(gateway, "defaultSourceAddressTypeOfNumber", TypeOfNumber.class);
    assertEquals(ton, TypeOfNumber.SUBSCRIBER_NUMBER);

    String sourceAddress = TestUtils.getPropertyValue(gateway, "defaultSourceAddress", String.class);
    assertEquals("12345", sourceAddress);
View Full Code Here

    ExtendedSmppSession session = TestUtils.getPropertyValue(gateway, "smppSession", ExtendedSmppSession.class);
    assertNotNull(session);
    System.out.println("Session: "+session);

    TypeOfNumber ton = TestUtils.getPropertyValue(gateway, "defaultSourceAddressTypeOfNumber", TypeOfNumber.class);
    assertEquals(ton, TypeOfNumber.INTERNATIONAL);

    String sourceAddress = TestUtils.getPropertyValue(gateway, "defaultSourceAddress", String.class);
    assertEquals("123456789", sourceAddress);
View Full Code Here

TOP

Related Classes of org.jsmpp.bean.TypeOfNumber

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.