MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
[MUD-Dev] Re: DevMUD module configuration
Jon Leonard wrote:
>
> As I was putting together a prototype this weekend, I realized that we
> don't yet have a sufficiently flexible scheme for configuring modules
> when we assemble them into a server.
>
> The most sophisticated system I've seen described involves having each
> module have a list of dependencies and other requirements, along with
> a list of features that it provides. The loader would then be
> responsible for picking out modules to load when some feature is required,
> pointing out conflicts, and so on.
>
> The problem with this is that there are quite a few collections of modules
> (that I'd like to see, anyway) which are ambiguous or otherwise fail to
> correctly initialize in such a scheme.
>
> For example, suppose I have three modules:
>
> 1) Socket, which provides network communication privliges
>
> 2) Telnet, which sits on top of Socket to provide Telnet protocol
> features and RFC compliance. It has the same interface (or
> a superset), for mix-and-match capability.
>
> 3) World, which provides all of the non-transport functionality of a MUD.
>
> When loading World, how does the driver know whether to load telnet or not?
> Similarly, if Socket, Telnet and World are loaded, how does the loader
> know to connect World to Telnet instead of to Socket?
Take a look at "Design Patterns for Concurrent, Parallel, and
Distributed Systems" @
http://www.cs.wustl.edu/~schmidt/patterns-ace.html (I believe someone
has posted this reference here 4-5 months ago)
The solution is:
Acceptor, or connection listener. There may be several listeners for the
supported communication protocols, which are responsible for a handshake
and creation of connection handlers which are passed to the server
framework then. So, telnet is one listener and the socket is other.
Probably they shouldn't live on the same port unless the more advanced
protocol (telnet and socket is not a good example for this case, rather
ANSI telnet and telnet are) is able to fallback.
> Jon Leonard
--
Still alive and smile stays on,
Vadim Tkachenko <vt#freehold,crocodile.org>
--
UNIX _is_ user friendly, he's just very picky about who his friends are
- Thread context:
- [MUD-Dev] Re: Inheritance model (was Re: PDMud thread summary), (continued)
- [MUD-Dev] DevMUD module configuration,
Jon Leonard jleonard#divcom,slimy.com, Tue 27 Oct 1998, 01:07 GMT
- [MUD-Dev] Re: DevMUD module configuration,
James Wilson jwilson#rochester,rr.com, Tue 27 Oct 1998, 02:32 GMT
- [MUD-Dev] Re: DevMUD module configuration,
Niklas Elmqvist d97elm#dtek,chalmers.se, Tue 27 Oct 1998, 06:44 GMT
- [MUD-Dev] Re: DevMUD module configuration,
Vadim Tkachenko vt#freehold,crocodile.org, Sat 31 Oct 1998, 03:09 GMT
- [MUD-Dev] Re: Missing the point: OpenMUD, Gamora, Casbah, etc.,
Jon A. Lambert jlsysinc#ix,netcom.com, Mon 26 Oct 1998, 21:27 GMT
- <Possible follow-up(s)>
- [MUD-Dev] Re: Missing the point: OpenMUD, Gamora, Casbah, etc.,
Bruce Mitchener, Jr. bruce#puremagic,com, Tue 27 Oct 1998, 04:30 GMT
- [MUD-Dev] Re: Missing the point: OpenMUD, Gamora, Casbah, etc.,
Ola Fosheim Grøstad olag#ifi,uio.no, Tue 27 Oct 1998, 22:15 GMT
- [MUD-Dev] Re: Why did it take years?,
Erik Ostrom eostrom#acm,org, Wed 28 Oct 1998, 06:32 GMT
[ Other Periods
| Other mailing lists
| Search
]