directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <trus...@gmail.com>
Subject Re: ProtocolSession attachment
Date Thu, 21 Apr 2005 11:48:53 GMT
Hi,

2005/4/21, daune.jf@daune-consult.com <daune.jf@daune-consult.com>:
> Hi all,
> 
> I have just realized during tests that when IoProtocolAcceptor is used,
> ProtocolSession attachment is internally used by IoAdapter.
> 
> I used my own attachment, which lead to a ClassCastException. As I have the MINA
> source code, it was easy to figure out where the error came from. But for a
> plain user only having JAR, it would have been more difficult.
> 
> IMHO, making it clear in the documentation is enough.

I added some statements about user-defined attributes in
IoProtocolAcceptor/Connector JavaDoc.  WDYT?

Thanks,
Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/

Mime
View raw message