A
Andreas Habel
Hi there,
here`s my question: I`ve coded some classes for my own ircd and it
works pretty fine. Now I`ve included some more functions that react
bot-like and listen to user commands in different channels.
Unfortunately, it`s very nerving to shutdown the ircd, implement tiny
new features, restart and reconnect to the server everytime.
Is there a possibility to reload or rehash loaded classes during
runtime ? If I implement a new method for a class, I simply want to
reload the class definition and execute the new method in every
instance that is still generated without stoping and restarting my
script.
And another question:
I marshal some classes and write them to hd. Now I chance some class
definitions and add some methods. Do the marshaled classes know these
methods after reload or is there a good solution for catching errors
if not ?
greetings from germany
andreas
here`s my question: I`ve coded some classes for my own ircd and it
works pretty fine. Now I`ve included some more functions that react
bot-like and listen to user commands in different channels.
Unfortunately, it`s very nerving to shutdown the ircd, implement tiny
new features, restart and reconnect to the server everytime.
Is there a possibility to reload or rehash loaded classes during
runtime ? If I implement a new method for a class, I simply want to
reload the class definition and execute the new method in every
instance that is still generated without stoping and restarting my
script.
And another question:
I marshal some classes and write them to hd. Now I chance some class
definitions and add some methods. Do the marshaled classes know these
methods after reload or is there a good solution for catching errors
if not ?
greetings from germany
andreas