[openamq-dev] amq_client_session_basic_consume_nowait() semantics

Caciano Machado caciano at gmail.com
Sat May 10 22:55:37 CEST 2008


Hi,

Anyone could explain the semantics of the function
amq_client_session_basic_consume_nowait(). I can't find anything in the
documentation.

In the code amq_client_session_basic_consume calls "s_wait_for_methods" with
the last argument set to TRUE and amq_client_session_basic_consume_nowait
calls it with the argument set to FALSE. What is the difference between
these functions?


amq_client_session_basic_consume (...) {
...
s_wait_for_methods (self, self->connection->timeoif (s_wait_for_methods
(self, self->connection->t|>ut, TRUE)
...
}

amq_client_session_basic_consume_nowait (...) {
...
s_wait_for_methods (self, self->connection->timeoif (s_wait_for_methods
(self, self->connection->t|>ut, FALSE)
...
}

Regards,
Caciano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openamq.org/pipermail/openamq-dev/attachments/20080510/c582ef06/attachment.htm 


More information about the openamq-dev mailing list