[mythtv-commits] mythtv/master commit: 73786aa16 by Raymond Wagner (wagnerrp)
MythTV
noreply at mythtv.org
Tue Jul 5 18:40:10 UTC 2011
Author: Raymond Wagner <rwagner at mythtv.org>
Change Date: 2011-07-05T11:33:17-07:00
Push Date: 2011/07/05 11:39:58 -0700
Repository: mythtv
Branch: master
New Revision: 73786aa16f191eaa958247abe4c815868048068e
Changeset: https://github.com/MythTV/mythtv/commit/73786aa16
Log:
Add shell class for maintaining outbound connections to the master
server within the mechanics of libmythprotoserver. This is intended to
receive inbound commands and events, used to manage slave backends,
mediaservers, jobqueues, and any future application the master backend
needs direct control over.
In order to use, the virtual AnnounceSocket should be overridden and
send the proper announce string to the master backend using the supplied
socket. The ConnectToMaster() method is used to create the initial
connection, and must not be called until after the request handler is
registered to the socket manager. After which, the socket will
automatically attempt reconnection every five seconds if it gets
disconnected.
Added:
mythtv/libs/libmythprotoserver/requesthandler/outboundhandler.cpp
mythtv/libs/libmythprotoserver/requesthandler/outboundhandler.h
Modified:
mythtv/libs/libmythbase/mythversion.h
mythtv/libs/libmythprotoserver/libmythprotoserver.pro
More information about the mythtv-commits
mailing list