directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Vasquez <ja...@mugfu.com>
Subject [mina] API access to ProtocolSession
Date Mon, 10 Jan 2005 13:41:14 GMT

On Mon, Jan 10, 2005 at 11:46:25AM +0900, trustin wrote:
> > What is the external API entry point for a client to send a message?
> 
> There is no way to access ProtocolSession directly right now.  I have to fix 
> this issue soon.  You can send your message in your 
> ProtocolHandler.sessionOpenend() method. For example,

If on sessionOpened(), I register the ProtocolSession for use
elsewhere within my client application, is it safe for other
threads to use?  (normally one of the IoThread's executing the
event callback would be acting on the ProtocolSession from what
I've seen)

-jason

-- 

Mime
View raw message