MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
[MUD-Dev] OpenMUD: bus-based communications
At 10/24/98 8:55 PM James Wilson (jwilson#rochester,rr.com) altered the
fabric of reality by uttering:
>On Sat, 24 Oct 1998, Niklas Elmqvist wrote:
>
>> - Inter-module communication is carried out using a decoupled mechanism
>>(cf Gamora Buses). IOW, modules do *not* know of each other at the
>>beginning, but broadcasts their presence on a server-wide channel.
>>Interested modules may create pipes or channels to the new module and use
>>this for message passing. Pipes may be implemented in terms of a C++
>>class (neatest), function pointers (most efficient), or network sockets
>>(for distributed systems). Possibly, all three could be supported.
>
>there are two ways I can see to interpret the above:
>
>1. modules have various options for communicating with each other,
>which they have to negotiate. ("can you give me function pointers? oh.
>well, how about RPC?")
>2. there is an abstract "send message to module" mechanism, which
>all modules use without knowing what it really does. This mechanism
>could be implemented in various ways.
I won't pretend to know what Niklas had in mind, but your number 2 is
what I had envisioned... and that's one reason I would push for an OO
core where modules inherit the messaging mechanism. As you say, there
could be various implementations to achieve that effect, but OO seems, to
me, the most logical.
Number 1 (modules negotiating their communications) seems to me
unnecessarily complex. As long as a "message" is defined very generically
(perhaps a byte or two to indicate what "type" of message it is and a
pointer to some data), *any* arbitrary message can be sent using the
abstract mechanism in your option 2.
-Rick.
---------------------------------------------------------
Rick Buck, President and CEO <mailto:rlb#big-i,com>
Beyond Infinity Games, Inc.
See you in The Metaverse! <http://www.big-i.com>
- Thread context:
- [MUD-Dev] Missing the point: OpenMUD, Gamora, Casbah, etc.,
Bruce Mitchener, Jr. bruce#puremagic,com, Mon 26 Oct 1998, 05:25 GMT
- [MUD-Dev] Re: Missing the point: OpenMUD, Gamora, Casbah, etc.,
Niklas Elmqvist d97elm#dtek,chalmers.se, Mon 26 Oct 1998, 18:29 GMT
- [MUD-Dev] Re: Missing the point: OpenMUD, Gamora, Casbah, etc.,
Ola Fosheim Grøstad olag#ifi,uio.no, Mon 26 Oct 1998, 20:36 GMT
- [MUD-Dev] OpenMUD: bus-based communications,
ApplePiMan ApplePiMan#aol,com, Mon 26 Oct 1998, 00:43 GMT
- [MUD-Dev] Re: openmud or pdmud or devmud,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Sun 25 Oct 1998, 17:34 GMT
- [MUD-Dev] Re: MUD verb handling (Was: DevMUD - thoughts.1),
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Sun 25 Oct 1998, 16:25 GMT
[ Other Periods
| Other mailing lists
| Search
]