Need help on client callback

View: New views
2 Messages — Rating Filter:   Alert me  

Need help on client callback

by Mike Nathan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Mailinglist!

I am a new orbit newbie. :)  

I'm now confusing  about how to implement callback functions in orbit.

How does the server find the right client?

Some example code(the client.c and the server.c) will be the BEST.

thank you very much!!!

Re: Need help on client callback

by Jules Colding :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Mon, 2008-01-07 at 23:13 -0800, Mike Nathan wrote:
> Dear Mailinglist!
>
> I am a new orbit newbie. :)  
>
> I'm now confusing  about how to implement callback functions in orbit.
>
> How does the server find the right client?

Just pass an object reference to the server. You can e.g. use
object_to_string() to get a stringified IOR. This can be put into a file
which the server reads and use in string_to_object().

HTH,
  jules

 
>
> Some example code(the client.c and the server.c) will be the BEST.
>
> thank you very much!!!

_______________________________________________
orbit-list mailing list
orbit-list@...
http://mail.gnome.org/mailman/listinfo/orbit-list