It's very intresting also for me, I'll take a look of that as soon as I
can, just after I have finished the DIRMINA-165 of byteBuffer.
----- Original Message -----
From: "Alessandro Torrisi" <[EMAIL PROTECTED]>
To: "Apache Directory Developers List" <[email protected]>
Sent: Monday, January 16, 2006 3:32 AM
Subject: Re: [MINA] What is SocketTrafficControl ?
Beautiful idea ! And this is useful also for my hub server ;-D
If I can help you let me know...I will happy !
Best regards,
Alex
On 15/gen/06, at 16:51, Niklas Therning wrote:
Alessandro Torrisi wrote:
Hi ! Excuse me I see a SocketTrafficControlTest class in the last
messages.
What is the SocketTrafficControl ? It seems very interesting :D
Alex
Well, basically it allows you to suspend reading and writing from/to a
session. It's what happens when you call session.suspendRead(),
sessionResumeRead(), etc.
We have plans to use this feature to implement a traffic shaping filter.
See https://issues.apache.org/jira/browse/DIRMINA-144 for more info on
that. As far as I know noone has started to work on such a filter yet.
But if you have some spare time, be my guest! ;)
/Niklas