[mythtv-commits] Re: Ticket #617: Allow non-blocking client connections

MythTV mythtv at cvs.mythtv.org
Sat Nov 12 09:24:24 EST 2005


#617: Allow non-blocking client connections
-----------------------------+----------------------------------------------
 Reporter:  gnassas at mac.com  |        Owner:  gnassas at mac.com
     Type:  patch            |       Status:  reopened       
 Priority:  minor            |    Milestone:  0.19           
Component:  mythtv           |      Version:  head           
 Severity:  medium           |   Resolution:                 
-----------------------------+----------------------------------------------
Comment (by gnassas at mac.com):

 {{{
 rework this to send the block/noblock bool on a separate line
 }}}

 I think the simplest way is to use a new ANN subcommand, maybe ANN
 Monitor, for non-blocking clients. In MythContext::ConnectServer it'd
 check the block argument I added and either send an ANN Playback or ANN
 Monitor as appropriate. All the current ANN types would be the same from a
 client point of view although internally only the ANN Playback would leave
 the PlaybackSock block flag as true, others would change it to false.

 This is a good idea and requires touching only 4 files instead of the 8
 the current patch does. When I started coding it seemed simpler to add the
 extra ANN argument but in retrospect that looks like a bad decision.

 I doubt Paul has whipped together a spare client machine already so I'll
 rework the patch and submit it again by this evening.

 - George

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/617>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list