Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public Element SendWithReplyAndBlock(Element element)
 {
     return Element.CreateElement(lm_connection_send_with_reply_and_block(this._obj, element.GetObject(), IntPtr.Zero));
 }
Exemplo n.º 3
0
 public void Send(Element element)
 {
     lm_connection_send (this._obj, element.GetObject (), IntPtr.Zero);
 }