directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <fedechi...@gmail.com>
Subject [mina] Re: [jira] Commented: (DIRMINA-42) SessionManagers should manage list of sessions being managed.
Date Wed, 14 Dec 2005 18:47:31 GMT
I thought many other things about DIRMINA-42:
-> A single IoAcceptor can manage (and bind/unbind) many localSocketAddress, 
so when we unbind only one of them we have to disconnect only the IoSessions 
correlated to that SocketAddress (DIRMINA-93). Because of this is good to 
mantain a IoSessionMap for each binded service in IoAcceptor.
-> The choice between hashMap or simple collection is interesting, but many 
codes can be developed in the same manner, so i begun to write down some 
interfaces and some patches to mina9.0 code, patching the tcp packages 
especially.

May I send that codes on jira? I read something about the Apache License, 
have I to modifie the code, apply some introduction to each class?

Sorry for all that question, Niklas Therning, I hope I do not disturb you 
too much.

by Fedechicco



----- Original Message ----- 
From: "Federico Bonelli (JIRA)" <jira@apache.org>
To: <dev@directory.apache.org>
Sent: Tuesday, December 13, 2005 11:34 PM
Subject: [jira] Commented: (DIRMINA-42) SessionManagers should manage list 
of sessions being managed.


>    [ 
> http://issues.apache.org/jira/browse/DIRMINA-42?page=comments#action_12360367 ]
>
> Federico Bonelli commented on DIRMINA-42:
> -----------------------------------------
>
> Yes, I planned to work it out because I need to resolve DIRMINA-93 for my 
> applications.
>
> Well, I'd like to work at this, but I'm new to team-development tecnique 
> (I always worked alone), so I need a large amount of tips, i'd like to 
> discuss every single choice.
>
> I was thinking about that, about the hashMap vs Collection, and I don't 
> know. I have many structure that need of a unique identifier that match 
> every single connection, in my applications, but for every application my 
> key is different.
>
> I'm thinking about an ftp server that need of couple nick-ipaddr, about a 
> chat server that need only ipaddr before login, then the nick after login, 
> the neededs of every application is protocol specified...
>
> For mina purpouse only (DIRMINA-93) a collection is all we need, but if we 
> want to make this IoSessionMap usable for the highlevel application we 
> need to develop a userdefinable hashing, pointing to our own collection, 
> or maybe to another parallel mina-useless data structure dedicated for 
> user-usage (that's the goal of DIRMINA-42)
>
> So the key problem is worse then I thougth. What do you think about it?
>
>> SessionManagers should manage list of sessions being managed.
>> -------------------------------------------------------------
>>
>>          Key: DIRMINA-42
>>          URL: http://issues.apache.org/jira/browse/DIRMINA-42
>>      Project: Directory MINA
>>         Type: New Feature
>>     Versions: 0.7
>>     Reporter: Trustin Lee
>>     Assignee: Niklas Therning
>>      Fix For: 0.9.1
>
>>
>> Users are maintaining the list of managed sessions in acceptors and 
>> connectors.  It will be much better if MINA can handle this.
>
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>   http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>   http://www.atlassian.com/software/jira
> 


Mime
View raw message