Feature Request #2328

Generic message handling

Added by dih over 9 years ago.

Status:NewStart date:2011-02-13
Priority:NormalDue date:
Assignee:dih% Done:


Target version:-


Implement a generic message handling, e.g. by registering messaging classes they way commands are registered.

that way the messaging interfaces merely needs to implement a specific method. Also execution of the messaging implementations could run recursively upwards, e.g. from IrcMessage interface, over ExternalMessage interface, to GenericMessage interface (i.e. by following the 'extends' of the interfaces via reflection).

following this approach, messages could be finer grained. however it would be important to note which plugins message classes were already called, so that they do not get executed twice, in case a plugin registers IrcMessage and GenericMessage classes.

allow two methods of invocation for these classes: recursive (following the parent interfaces) and non-recursive.

possibly implement the same recursiveness for the commands also.

Also available in: Atom PDF