directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <trus...@gmail.com>
Subject Re: [MINA] Arbitrary session information
Date Tue, 23 Aug 2005 03:10:35 GMT
Hi Marc,

2005/8/23, Marc Boorshtein <mboorshtein@gmail.com>:
> 
> I am looking at the LDAP provider for mina, and I'm trying to
> understand how I can tie the operations of a session together? For
> example if I want to store a piece of information that I want to be
> accessible while a connection is alive. Is this possible? I see
> ProtocolSession has the setAttribute() method, can this method be used
> to for the above purpose?


Exactly. You can use ProtocolSession.get/setAttribute() to access 
session-specific information.

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

Mime
View raw message