see javadoc:
http://mina.apache.org/report/1.1/apidocs/org/apache/mina/common/IoHandler.html#sessionCreated(org.apache.mina.common.IoSession)

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

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

Maarten

On 7/26/07, Germán Borbolla Flores <[EMAIL PROTECTED]> 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
>

Reply via email to