/// <summary> /// This processes the add_dl event. /// </summary> /// <param name="pdu">Protocol Data Unit</param> public override void Process(add_dl pdu) { SmppEventArgs ea = new SmppEventArgs(session_, pdu, new add_dl_resp(pdu.SequenceNumber)); if (!session_.FireEvent(EventType.AddDl, ea)) { ea.ResponsePDU.Status = StatusCodes.ESME_RADDDLFAIL; } session_.SendPdu(ea.ResponsePDU); }
/// <summary> /// This processes the add_dl event. /// </summary> /// <param name="pdu">Protocol Data Unit</param> public override void Process(add_dl pdu) { tx_.Process(pdu); }
/// <summary> /// This processes the add_dl PDU /// </summary> /// <param name="pdu">Protocol Data Unit being processed</param> public virtual void Process(add_dl pdu) { throw new InvalidSmppStateException("Session is not in the proper state for a add_dl operation."); }