Trustin,
I have some questions for you:
- Is there a reason to use a Queue instead of (the less restrictive) List?
- If so, is there a reason to use a custom Queue instead of those from Java?
J-F
Yes you're right. But we can modify org.apache.mina.util.Queue to implement
java.util.List .
2005/10/18, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
The fact that fetchSessionBuffer takes a Queue prevents easy
manipulation of the
collection.
There is no way to remove an element at index i, other than popping all
elements
before and pushing them back (actually a queue implies FIFO strategy)