MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
CORBA, RMI, threads
On Sun, 15 Feb 1998 coder#ibm,net wrote:
>
> On 29/01/98 at 10:29 AM, s001gmu#nova,wright.edu said:
>
> >So, to reuse my schedule example, you could have several different calls
> >like so:
>
> > event_driver.schedule(new combat_event(real_to_game_time(t), attacker,
> > defender));
> > event_driver.schedule(new heal_event(real_to_game_time(t), target,
> > amount));
>
> I simplify all of this by not using a stack based architecture, but
> instead using message passing. An "event" then is merely a tuple of an
> objectID and a message to pass to that object,
'stack based architecture'? As I understand my system, and the
terminology surrounding it, I'm using a Queue (granted, very similar to a
stack)... Do I need to pull out my intro books and read them again? :)
> >etc. Each event class descended from the generic event has it's own
> >handle() method. You'll also want to have each descended event class's
> >constructors take arguments of pertinent data, as above. You can make
> >the inheretence tree as broad and deep as you like, depending on how you
> >choose to organize things.
>
> You also end up with a very very shallow and simple inheritance tree.
True. I don't have a problem with that. :) Simple is good, a lot of the
time.
-Greg
- Thread context:
- Re: [MUD-Dev] CORBA, RMI, threads, (continued)
- Re: [MUD-Dev] CORBA, RMI, threads,
Brandon Gillespie brandon#roguetrader,com, Tue 27 Jan 1998, 21:26 GMT
- Re: [MUD-Dev] CORBA, RMI, threads,
Marc Eyrignoux Marc.Eyrignoux#efrei,fr, Wed 28 Jan 1998, 10:09 GMT
- CORBA, RMI, threads,
s001gmu s001gmu#nova,wright.edu, Thu 29 Jan 1998, 14:46 GMT
- Re: [MUD-Dev] CORBA, RMI, threads,
coder coder#ibm,net, Sun 15 Feb 1998, 13:38 GMT
- CORBA, RMI, threads,
s001gmu s001gmu#nova,wright.edu, Mon 16 Feb 1998, 01:53 GMT
- Re: [MUD-Dev] CORBA, RMI, threads,
Brandon Gillespie brandon#roguetrader,com, Thu 29 Jan 1998, 15:53 GMT
Re: [MUD-Dev] The impact of the web on muds,
Mike Sellers mike#online-alchemy,com, Fri 02 Jan 1998, 21:21 GMT
Re: [MUD-Dev] The impact of the web on muds,
JC Lawrence claw#under,Eng.Sun.COM, Tue 06 Jan 1998, 02:44 GMT
[ Other Periods
| Other mailing lists
| Search
]