<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Pavel,<br>
    <br>
    Thank you so much for instant help.<br>
    <br>
    What is maximum timeout limit if i use this method?<br>
    <br>
    Regards,<br>
    Keyur Patel<br>
    <br>
    <div class="moz-cite-prefix">On 14/02/2013 10:29 AM, Pavel Strashkin
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAB5XKbzVSKg-VJEVc9nPe=k9+d9k=iA=G9upU-k4ONDaiVOemw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Keyur,
        <div><br>
        </div>
        <div style="">There is Object::set_timeout (int new_timeout =
          -1) available for you.</div>
        <div style="">You should use it before you make the call. As far
          as it's the wrapper for libdbus, -1 means "25 seconds" as
          Simon mentioned before, etc.</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Wed, Feb 13, 2013 at 8:34 PM, Keyur
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:keyur.patel@einfochips.com" target="_blank">keyur.patel@einfochips.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks
            Simon,<br>
            <br>
            I am using Dbus-c++<br>
            can you help me in that?
            <div>
              <div class="h5"><br>
                <br>
                <br>
                On 14/02/2013 2:08 AM, Simon McVittie wrote:<br>
              </div>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div>
                <div class="h5">
                  On 13/02/13 14:29, Keyur wrote:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    What is maximum bus timeout limit for dbus blocking
                    function?<br>
                  </blockquote>
                  As long as you like.<br>
                  <br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    how to set timeout for dbus function?<br>
                  </blockquote>
                  It depends which implementation you're using. Most
                  implementations let<br>
                  you specify a timeout when you call a method, with -1
                  meaning "let the<br>
                  implementation choose" (if you tell libdbus to use
                  timeout -1, it will<br>
                  currently use 25 seconds).<br>
                  <br>
                  If you're using libdbus, it's the timeout_milliseconds
                  parameter to<br>
                  dbus_connection_send_with_reply() or<br>
                  dbus_connection_send_with_reply_and_block().<br>
                  <br>
                  If you're using GDBus, it's the timeout_msec parameter
                  to<br>
                  g_dbus_connection_call_sync(),
                  g_dbus_connection_call(), etc.<br>
                  <br>
                  If you're using dbus-glib, don't; but if you really
                  have to, you can use<br>
                  dbus_g_proxy_call_with_timeout() or<br>
                  dbus_g_proxy_begin_call_with_timeout() or<br>
                  dbus_g_proxy_set_default_timeout(). The timeout
                  argument is interpreted<br>
                  in the same way as for libdbus.<br>
                  <br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    and what is maximum timeout limit?<br>
                  </blockquote>
                  In recent libdbus, specifying DBUS_TIMEOUT_INFINITE
                  (or INT32_MAX or<br>
                  0x7fffffff) is a special case which results in an
                  infinite timeout.<br>
                  In older libdbus, that value is taken literally as
                  0x7fffffff<br>
                  milliseconds, which is more than 24 days.<br>
                  <br>
                  GDBus uses G_MAXINT for the same thing.<br>
                  <br>
                       S<br>
                  _______________________________________________<br>
                  dbus mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:dbus@lists.freedesktop.org"
                    target="_blank">dbus@lists.freedesktop.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://lists.freedesktop.org/mailman/listinfo/dbus"
                    target="_blank">http://lists.freedesktop.org/mailman/listinfo/dbus</a><br>
                  <br>
                </div>
              </div>
              <div class="im">
                ---------------------------------------------------------------------------------------------<br>
                Notice:<br>
                This message has been scanned by Trend Micro Mail
                Security scanner and is believed to be clean<br>
                ---------------------------------------------------------------------------------------------<br>
              </div>
              *************************************************************************************************************************************************************<br>
              eInfochips Business Disclaimer : This e-mail message and
              all attachments transmitted with it are intended solely
              for the use of the addressee and may contain legally
              privileged and confidential information. If the reader of
              this message is not the intended recipient, or an employee
              or agent responsible for delivering this message to the
              intended recipient, you are hereby notified that any
              dissemination, distribution, copying, or other use of this
              message or its attachments is strictly prohibited. If you
              have received this message in error, please notify the
              sender immediately by replying to this message and please
              delete it from your computer. Any views expressed in this
              message are those of the individual sender unless
              otherwise stated. Company has taken enough precautions to
              prevent the spread of viruses. However the company accepts
              no liability for any damage caused by any virus
              transmitted by this email.<br>
              *************************************************************************************************************************************************************<br>
              <br>
              <br>
            </blockquote>
            <div class="im HOEnZb">
              <br>
              -- <br>
              Regards,<br>
              Keyur Patel<br>
              <br>
              <br>
              <br>
              ---------------------------------------------------------------------------------------------<br>
              Notice: This message has been scanned by Trend Micro Mail
              Security scanner and is believed to be clean<br>
              ---------------------------------------------------------------------------------------------<br>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                _______________________________________________<br>
                dbus mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:dbus@lists.freedesktop.org"
                  target="_blank">dbus@lists.freedesktop.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.freedesktop.org/mailman/listinfo/dbus"
                  target="_blank">http://lists.freedesktop.org/mailman/listinfo/dbus</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <table>
        <tbody>
          <tr>
            <td bgcolor="#ffffff"><font color="#000000">
                <pre>---------------------------------------------------------------------------------------------
Notice: 
This message has been scanned by Trend Micro Mail Security scanner and is believed to be clean
---------------------------------------------------------------------------------------------</pre>
              </font></td>
          </tr>
        </tbody>
      </table>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Regards,
Keyur Patel</pre>
  </body>
</html>

<table><tr><td bgcolor=#ffffff><font color=#000000><pre>---------------------------------------------------------------------------------------------
Notice: 
This message has been scanned by Trend Micro Mail Security scanner and is believed to be clean
---------------------------------------------------------------------------------------------</pre></font></td></tr></table>