Bayeux Protocol

Jan 25, 2012 at 1:59 AM

I am needing to create a project that uses C# to connect to a long-polling server for a feed.  This project is to replace a web page that is currently using javascript's cometd.  I have downloaded the Bayeux source along with everything needed to compile.  I have no problem creating the dll's.  My problem is that I just don't know where to start with this code.  I don't see a clear entry point or declaration of "this is the class" needed to start the implementation.  Any suggestions would be of create help.


Jan 25, 2012 at 12:10 PM

Hi Kevin,

The "entry" class for Bayeux client implementation is BayeuxConnection.
It can be configured to use some specific connectivity options, long polling and others.

There is a unit-testing project. Please find inside it the tests against original cometd server (file: CometDTests.cs). I used to work some time ago, maybe this will explain you more.

Anyway, if you find something missing or not working, please let me know (via Issue Tracker here) and I will try to fix it.