Issue Details (XML | Word | Printable)

Key: DIRMINA-118
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Niklas Therning
Reporter: Trustin Lee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MINA

DemuxingIoHandler should look up super classes, too, and cache the lookup results.

Created: 07/Nov/05 03:44 PM   Updated: 30/Nov/05 01:03 PM
Return to search
Component/s: None
Affects Version/s: 0.8.0
Fix Version/s: 0.9.0

Time Tracking:
Not Specified

Resolution Date: 29/Nov/05 11:52 PM


 Description  « Hide
Jose Alberto Fernandez wrote:

Another matter around Demux, is that currently it only looks at super-interfaces if a direct match is not found,

But it does not look at super-classes. This is annoying when you have protocols that extend all messages from some particular superclass and you want to be able to treat groups of messages the same way (like ignoring them).

Also, it may be interesting to see if there is a good way to cache the resolution of super-interfaces and super-classes in order to make such code more efficient. You will just need to make sure that the cache is flushed when MessageHandlers are added or removed.

 

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.