[bind10-dev] cc message format description and routing daemon added to svn
Michael Graff
mgraff at isc.org
Tue Sep 22 21:32:50 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have added (under experimental/graff-ccapi) two things regarding the
control channel message api (aka "small message api")
msgq/ contains a very slightly modified message daemon which handles the
OpenReg format messages. It handles group subscription, unsubscribe,
and general message routing. There are no clients added as of yet; I
will be doing this today and tomorrow. It is written in C, and requires
an installed bind9, as it calls isc-config.sh, and uses libisc
internally. A rewrite is planned in C++, and would be a good first
project for me to get my C++ feet wetter.
Also in graff-ccapi is a protocol.txt file, which describes the protocol
as I re-learned it from looking at the various message daemon, clients,
and Perl libraries I've written for OpenReg.
Over the next day or so, want to sketch out how this thing will work in
a C++ world. Ruby and Perl and Python should be trivial to implement,
but C++ is a more strictly typed language, and is causing no end of pain
to my brain. I'm so used to being able to write:
if foo.class == Array
... do something with the array ...
elsif foo.class == Map
... do something with the dictionary ...
elsif foo.class == String
... you get the idea
end
and I just don't yet know how to do this in C++ without some sort of
wrapper around each of these, and I want to avoid that.
- --Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkq5QoIACgkQ+NNi0s9NRJ3fEQCgk4eMFhmualqWNrkn9Uv53tW1
FXIAnRuDILYKdOQLWHi9Wd0vfMNcqt+c
=H3Mh
-----END PGP SIGNATURE-----
More information about the bind10-dev
mailing list