/// <summary> /// This method invokes the SubmitSm method asynchronously /// </summary> /// <param name="pdu">submit_sm PDU to send</param> /// <param name="callback">Asynch callback</param> /// <returns>IAsyncResult interface for monitoring</returns> public IAsyncResult BeginSubmitSm(submit_sm pdu, AsyncCallback callback) { AsynchCall acr = new AsynchCall(callback, this); return(acr.BeginInvoke(new SubmitSmDelegate(SubmitSm), new object[] { pdu })); }
/// <summary> /// This method invokes the EnquireLink method asynchronously /// </summary> /// <param name="pdu">enquire_link PDU to send</param> /// <param name="callback">Asynch callback</param> /// <returns>IAsyncResult interface for monitoring</returns> public IAsyncResult BeginEnquireLink(enquire_link pdu, AsyncCallback callback) { AsynchCall acr = new AsynchCall(callback, this); return(acr.BeginInvoke(new EnquireLinkDelegate(EnquireLink), new object[] { pdu })); }
/// <summary> /// This method invokes the BindTransceiver method asynchronously /// </summary> /// <param name="pdu">bind_transceiver PDU to send</param> /// <param name="callback">Asynch callback</param> /// <returns>IAsyncResult interface for monitoring</returns> public IAsyncResult BeginBindTransceiver(bind_transceiver pdu, AsyncCallback callback) { AsynchCall acr = new AsynchCall(callback, this); return(acr.BeginInvoke(new BindTransceiverDelegate(BindTransceiver), new object[] { pdu })); }
/// <summary> /// This method invokes the DeliverSm method asynchronously /// </summary> /// <param name="pdu">deliver_sm PDU to send</param> /// <param name="ac">Asynch callback</param> /// <returns>IAsyncResult interface for monitoring</returns> public IAsyncResult BeginDeliverSm(deliver_sm pdu, AsyncCallback ac) { AsynchCall acr = new AsynchCall(ac, this); return(acr.BeginInvoke(new DeliverSmDelegate(DeliverSm), new object[] { pdu })); }
/// <summary> /// This method invokes the SendData method asynchronously /// </summary> /// <param name="pdu">data_sm PDU to send</param> /// <param name="ac">Asynch callback</param> /// <returns>IAsyncResult interface for monitoring</returns> public IAsyncResult BeginSendData(data_sm pdu, AsyncCallback ac) { AsynchCall acr = new AsynchCall(ac, this); return(acr.BeginInvoke(new SendDataDelegate(SendData), new object[] { pdu })); }
/// <summary> /// This method is used to enquire the session asynchronously. /// </summary> /// <returns></returns> public IAsyncResult BeginEnquireLink(AsyncCallback ac) { AsynchCall acr = new AsynchCall(ac, this); return(acr.BeginInvoke(new EnquireLinkDelegate(EnquireLink), null)); }
/// <summary> /// This method is used to unbind from the session asynchronously. /// </summary> /// <returns></returns> public IAsyncResult BeginUnBind(AsyncCallback ac) { AsynchCall acr = new AsynchCall(ac, this); return(acr.BeginInvoke(new UnbindDelegate(UnBind), null)); }