Ask Your Question
2

Are service callbacks queued?

asked 2014-10-16 08:25:16 -0600

arennuit gravatar image

Dear all,

Reading the doc and tutorials I understand that when the topics are received (on the subscriber side) they are queued in a callback queue before being processed (on a call to spin(), spinOnce(), callAvailable(), callOne()...). Now what I did not get is weather the service callbacks (on the server side) were also queued in the same callback queue. Hence the question:

Are the service callbacks queued in the same callback queue than the topics or are they processed independently as soon as they are received (i.e. without waiting for a spin(), spinOnce(), callAvailable(), callOne()...))?

Thanks,

Antoine.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-10-16 13:39:27 -0600

paulbovbel gravatar image

By default, yes they are all queued on the node's callback queue.

edit flag offensive delete link more

Comments

Simple and clear, thanks!

arennuit gravatar image arennuit  ( 2014-10-16 15:59:06 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-10-16 08:25:16 -0600

Seen: 569 times

Last updated: Oct 16 '14