public void SendWithReply(Element element, ElementHandler handler) { IntPtr ptr = new IntPtr(); IntPtr chandler; chandler = lm_message_handler_new(new _ElementHandler(this.AsyncHandler), ptr, IntPtr.Zero); _asyncHandlers.Add(ptr, handler); lm_connection_send_with_reply(_obj, element.GetObject(), chandler, IntPtr.Zero); }
public Element SendWithReplyAndBlock(Element element) { return Element.CreateElement(lm_connection_send_with_reply_and_block(this._obj, element.GetObject(), IntPtr.Zero)); }
public void Send(Element element) { lm_connection_send (this._obj, element.GetObject (), IntPtr.Zero); }