[Back to InterfaceDefinitions]
-- adric
Purpose: | baseline interaction of UI with other subsystems |
Features: |
|
Maintainer: | BenKnowles |
Status: | design first prototype |
Source code: | pseudo code below |
Current users: | none of those either |
Current implementors: | none as of yet |
Possible implementors: | everything |
Version history: |
|
Note: I hack lousy code. However, no work can procede on UI hacking until this minor thing is taken care of (my understanding anyway), and I am tired of waiting for someone else to do it, I'm going to hack it. I will be taking submissions for desired behaviours and such until the end of Summer Term (early August) and then I will hack something up and put it here, just so we can get on with this. Feel free to beat me to it. --BenKnowles
Doesn't it still need to be able to start a process? If not, at least one other process must be available which can start other processes before the shell can do anything. -- AveryRegier 30 July 1998
This further begs the question: Has anybody done any preliminary work on a JOSMessage subsystem, or am I just lucky? I know a good bit of work has been done in the design of sme of the other things that fit in this part of the system, but has anyone tried to figure out how it integrates with the low-level stuff? Or at least come up with a name for it.. Maybe this plays into the JOS / JOSBox idea ... --BenKnowles
25 Dec 99
Among other things, I have been fiddling around with BeOS lately (having finally gotten a copy of the x86 port). Included in R4.5.2 are quite a lot of sample code and hacker docs, particularly the Be Book (what goes over their APIs)... As I had suspected, their messaging setup is ungoetlich nice. We should be implementing this! The interface (this page) needn't be more than (excuse syntax errors):
public class Shell implements ShellInterface { sys.register_me_as_messaging_capable(); protected boolean receive_message(JMessage) { return(true); } protected boolean send_message(JMessage) { return(true); } }and maybe should be renamed s/Shell/Message ?
Implementors would overload send and receive as befits their needs. In BeOS, handlers and loops are provided to dispatch messages.. I strongly encourage looking over the online Be Book section on application messaging : 20Application20Kit/topicMessaging.html">http://www-classic.be.com/documentation/bebook/The20Application20Kit/topicMessaging.html
Since writing this page, I've studied up a bit more on Java (2). This looks like a job for RMI, but I'm not sure about it. I'm considering starting a adric:MessagingArch or something to hash out the possibilities.
- adric, 15 Aug 2K