use of org.mobicents.smsc.library.Sms in project smscgateway by RestComm.
the class PostArrivalProcessorImpl method updateEsmClass_UDHIndicatorAbsent.
@Override
public void updateEsmClass_UDHIndicatorAbsent(MProcMessage message) {
MProcMessageImpl msg = (MProcMessageImpl) message;
Sms sms = msg.getSmsContent();
sms.setEsmClass(MProcUtility.setEsmClass_UDHIndicatorAbsent(sms.getEsmClass()));
}
use of org.mobicents.smsc.library.Sms in project smscgateway by RestComm.
the class PostArrivalProcessorImpl method updateEsmClass_UDHIndicatorPresent.
@Override
public void updateEsmClass_UDHIndicatorPresent(MProcMessage message) {
MProcMessageImpl msg = (MProcMessageImpl) message;
Sms sms = msg.getSmsContent();
sms.setEsmClass(MProcUtility.setEsmClass_UDHIndicatorPresent(sms.getEsmClass()));
}
use of org.mobicents.smsc.library.Sms in project smscgateway by RestComm.
the class PostArrivalProcessorImpl method updateMessageDestAddrNpi.
@Override
public void updateMessageDestAddrNpi(MProcMessage message, int newDestNpi) throws MProcRuleException {
MProcUtility.checkDestAddrNpi(newDestNpi);
MProcMessageImpl msg = (MProcMessageImpl) message;
Sms sms = msg.getSmsContent();
sms.getSmsSet().setDestAddrNpi(newDestNpi);
sms.getSmsSet().setCorrelationId(null);
}
use of org.mobicents.smsc.library.Sms in project smscgateway by RestComm.
the class PostArrivalProcessorImpl method updateEsmClass_ModeTransaction.
@Override
public void updateEsmClass_ModeTransaction(MProcMessage message) {
MProcMessageImpl msg = (MProcMessageImpl) message;
Sms sms = msg.getSmsContent();
sms.setEsmClass(MProcUtility.setEsmClass_ModeTransaction(sms.getEsmClass()));
}
use of org.mobicents.smsc.library.Sms in project smscgateway by RestComm.
the class PostArrivalProcessorImpl method updateEsmClass_ModeDatagram.
@Override
public void updateEsmClass_ModeDatagram(MProcMessage message) {
MProcMessageImpl msg = (MProcMessageImpl) message;
Sms sms = msg.getSmsContent();
sms.setEsmClass(MProcUtility.setEsmClass_ModeDatagram(sms.getEsmClass()));
}
Aggregations