Protocols/Distributed Notifications and Compatibility
Protocols/Distributed Notifications and Compatibility
- Subject: Protocols/Distributed Notifications and Compatibility
- From: Sam Goldman <email@hidden>
- Date: Fri, 05 Apr 2002 03:08:54 -0800
Hi list,
I am making a DO application in Cocoa as a "project" for my programming
class and I need a little explanation on some things.
First I looked at the documentation for Distributed Objects and made a few
test projects that passed along strings and what not between applications,
so I understand DO for the most part, but one thing that I don't understand
and have no experience with is protocols.
How do I create a protocol for a Cocoa application. I know that it goes
inside @protocol and @end, but I don't know what to put inside and what it
does. From what I gather from the archives it can be used to send
notifications between the two applications and that is something I want to
do.
I guess I should say that the project is a chat client with some features
(maybe file sharing or some other things).
When I set up a protocol, can I get it to work with other languages? What if
I want the messaging to work between the Cocoa application and a C
application that implements the right protocol? How would I write the
protocol in order to work between multiple languages?
One last thing. How is a P-to-P DO setup different from a Client/Server
setup programmatically? What are the major differences in implementation?
Thanks,
Sam
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.