Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example usage code #4

Closed
richkershaw opened this issue Apr 21, 2011 · 6 comments
Closed

Example usage code #4

richkershaw opened this issue Apr 21, 2011 · 6 comments

Comments

@richkershaw
Copy link

As it stands, the library is somewhat impenetrable. Use of Interfaces and lack of inline documentation mean it's hard to figure out how to use it in another project - have you got any example code where a connection's established and pub/sub stuff goes on? I'm pretty desperate for a .NET Bayeux client!

As an aside, I'm hoping that since it's a standard protocol, it'll work with this: http://faye.jcoglan.com/node.html - will report back once it's up and running.

Thanks!

@grEvenX
Copy link

grEvenX commented Jun 3, 2011

I djkitsch, we totally agree that there should be included some example code on how to use the library from C#.
There's plenty of examples on how to use cometd/bayeux in general for the original Java library, but it would still be good to provide at least a basic example for the C# port.
I have put it on our list to create such an example, so I'm hoping that we will get some time to do this pretty soon.
How is your effort going?

@zzattack
Copy link

I've experimented with this today and am very satisfied with the results. The CometD.NET code plays very nicely with Faye, so this is definitely a hugh pre for Faye when comparing to socket.io which still lacks any .NET support.

@richkershaw
Copy link
Author

grEvenX - I actually got distracted with client-side code in Objective-C, and we ended up going with ActiveMQ on the server-side, but the project's still pending.

zzattack - good job with that! Any chance of seeing the code you used to get it working?

@zzattack
Copy link

I put up a super simple example here.

@HakanL
Copy link
Contributor

HakanL commented Aug 17, 2011

I used this client library in a system I'm working on, check it out here: http://github.com/HakanL/Auto-Deployment
I created a simple command-line tool to connect to a comet server and push a simple key/value json object.

@magnusga
Copy link
Contributor

I've added the usage example from the java-client, tested it, and also added a link to HakanL's project. It's all in README.TXT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants