[Trac] [AllemaniACs] #62: Make FawkesNetworkClient::enqueue() consume message

AllemaniACs trac-notifications at lists.kbsg.rwth-aachen.de
Fri Jul 11 11:36:43 CEST 2008


#62: Make FawkesNetworkClient::enqueue() consume message
-------------------------+--------------------------------------------------
 Reporter:  tim          |       Owner:  tim           
     Type:  enhancement  |      Status:  new           
 Priority:  major        |   Milestone:  Basic Platform
Component:  Fawkes       |    Keywords:  Networking    
-------------------------+--------------------------------------------------
 Currently {{{FawkesNetworkClient::enqueue()}}} does not {{{unref()}}} the
 enqueued message after it has been sent. This means that each application
 that uses {{{enqueue()}}} has to {{{unref()}}} the message by itself.

 Since the typical use case is that the message is {{{unref()}}}'ed
 immediately after it has been sent the semantics of {{{enqueue()}}} should
 be changed to do this {{{unref()}}} already. To get the old behavior the
 message can be {{{ref()}}}'ed before {{{enqueue()}}}'ing.

 Since this change needs to look over the whole software to see where
 changes need to be made I postpone this until after China.

-- 
Ticket URL: <https://lechuck.informatik.rwth-aachen.de:2342/trac/ticket/62>
AllemaniACs <http://robocup.rwth-aachen.de>
AllemaniACs Trac


More information about the fawkes-trac mailing list