Re: NSViews and Distributed Objects
Re: NSViews and Distributed Objects
- Subject: Re: NSViews and Distributed Objects
- From: Wade Tregaskis <email@hidden>
- Date: Thu, 28 Aug 2003 12:12:18 +1000
I am looking at having a server that loads bundles that contain custom
interfaces. Is it possible to send the interface over a DO connection
so that the client can use it? Or should I just send a description of
the interface for the client to recreate?
As far as I know, you should be able to vend interface objects
(NSTextField's, for example), over DO. The DO mechanism is so
fundamental and simple that it should work for all but the most exotic
classes. The question more likely boils down to efficiency and
reliability - if you're using sockets for DO, particularly from one
computer to another, then your interface could behave strangely if the
connection is unreliable/broken. It may be better to provide a simple
interface between the interface and the DO connection, to ensure your
interface doesn't lock up at inopportune moments, and so forth.
Wade Tregaskis
-- Sed quis custodiet ipsos custodes?
_______________________________________________
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.