mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Bosteels" <mbosteels....@gmail.com>
Subject Re: Difference between sessionOpened and sessionCreated
Date Thu, 26 Jul 2007 16:51:29 GMT
see javadoc:

Invoked when the session is created. Initialize default socket parameters
and user-defined attributes here.

Invoked when the connection is opened. This method is not invoked if the
transport type is UDP.


On 7/26/07, Germán Borbolla Flores <gborbolla@insys-corp.com.mx> wrote:
> Hi,
> As part of a server I'm working on I need to filter incoming connection
> based in a number of criteria.
> I don't know where to put it, in IoFilter.sessionCreated or in
> IoFilter.sessionOpened, I've checked BlacklistFilter and the connection
> is validated in both methods, do I have to this?
> For future reference, which method is first called?
> Thanks,
> Germán
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message