Package org.smslib.smpp.Address

Examples of org.smslib.smpp.Address.TypeOfNumber


    String enquireLink=getProperty("enquirelink");
    if(enquireLink!=null && !enquireLink.isEmpty()){
      gateway.setEnquireLink(Integer.parseInt(enquireLink));
    }
    String ton=getProperty("sourceton");
    TypeOfNumber typeOfNumber=(ton==null)?TypeOfNumber.UNKNOWN:TypeOfNumber.valueOf(Byte.parseByte(ton));
   
    String npi=getProperty("sourcenpi");
    NumberingPlanIndicator numberingPlanIndicator=(npi==null)?NumberingPlanIndicator.UNKNOWN:NumberingPlanIndicator.valueOf(Byte.parseByte(npi));
   
    gateway.setSourceAddress(new Address(typeOfNumber, numberingPlanIndicator));
View Full Code Here


    String password=getProperty("password");
    String systemType=getProperty("systemtype");
    BindType bindType=BindType.getByShortName(getProperty("bindtype"));
   
    String ton=getProperty("bindton");
    TypeOfNumber typeOfNumber=(ton==null)?TypeOfNumber.UNKNOWN:TypeOfNumber.valueOf(Byte.parseByte(ton));
   
    String npi=getProperty("bindnpi");
    NumberingPlanIndicator numberingPlanIndicator=(npi==null)?NumberingPlanIndicator.UNKNOWN:NumberingPlanIndicator.valueOf(Byte.parseByte(npi));
   
    return new BindAttributes(systemId, password, systemType, bindType, new Address(typeOfNumber, numberingPlanIndicator));
View Full Code Here

TOP

Related Classes of org.smslib.smpp.Address.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.