/// <summary> Called to create a EnquireLinkResp object </summary> /// <param name="defaultEncoding"></param> /// <param name="buf"></param> /// <param name="offset"></param> /// <returns> EnquireLinkResp </returns> public static EnquireLinkSmResp Create(DataCodings defaultEncoding, SmppBuffer buf, ref int offset) { EnquireLinkSmResp enquireLinkResp = new EnquireLinkSmResp(defaultEncoding); try { buf.ExtractHeader(enquireLinkResp, ref offset); } catch { enquireLinkResp = null; } return(enquireLinkResp); }
/// <summary> Called when an enquire link resp is received </summary> /// <param name="sender"></param> /// <param name="data"></param> private void ClientEventEnquireLinkSmResp(object sender, EnquireLinkSmResp data) { WriteLog("ESMEConnection : ClientEventEnquireLinkSmResp : Info : Enquire Link Resp : Command[{0}] Length[{1}] Sequence[{2}] Status[{3}]", data.Command, data.Length, data.Sequence, data.Status); }