Woops, sorry I have read "IoFilter" in place of "WriteRequest" ;)
On Mon, 25 Aug 2008 16:18:46 +0200
Geert Schuring <[EMAIL PROTECTED]> wrote:
> Julien,
>
> Thanks for your quick reply. However, i think you're confusing my
> email with someone else's. My comment was the following:
>
> > > I'd like to point out that there's an error in the IoFilter
> > > documentation on the website. It shows the following code:
> > >=20
> > > public void filterWrite(NextFilter nextFilter, IoSession
> > session, > WriteRequest request) {
> > > nextFilter.filterWrite(
> > > session, new WriteRequest(
> > > ((String)
> > request.getMessage()).toCharArray(), > request.getFuture(),
> > request.getDestination())); > }
> > >=20
> > > However, WriteRequest is an Interface in Mina 2.0.0 and can
> > therefor > not be instantiated.
>
> I'm writing a blog post about using the Mina2 IoFilter right now.
> I'll let the list know when its done, so you can refer to it from the
> MINA site as 3rd party documentation.
>
> Greets,
> Geert.
>
> --------- Original Message --------
> From: [email protected]
> To: [email protected] <[email protected]>
> Subject: Re: Error in MINA 2 IoFilter documentation
> Date: 25/08/08 17:08
>
> > Hi,
> >
> > I think you are talking about the IoFilter tutorial ?
> > You are supposed to create a class implementing IoFilter or
> > extending IoFilterAdapter.
> >
> > Yes this tutorial is badly introduced, patches are welcome :)
> > You can send patch/bug reports for doc issues at
> > http://issues.apache.org/jira/browse/DIRMINA
> >
> > HTH
> > Julien
> >
> > On Mon, 25 Aug 2008 15:58:55 +0200
> > Geert Schuring <[EMAIL PROTECTED]> wrote:
> >
> > > Hello,
> > >=20
> > > I'd like to point out that there's an error in the IoFilter
> > > documentation on the website. It shows the following code:
> > >=20
> > > public void filterWrite(NextFilter nextFilter, IoSession
> > session, > WriteRequest request) {
> > > nextFilter.filterWrite(
> > > session, new WriteRequest(
> > > ((String)
> > request.getMessage()).toCharArray(), > request.getFuture(),
> > request.getDestination())); > }
> > >=20
> > > However, WriteRequest is an Interface in Mina 2.0.0 and can
> > therefor > not be instantiated.
> > >=20
> > > Who can i address this kind of comment to?
> > >=20
> > > Greets,
> > > Geert Schuring.
> > > The Netherlands.
> > >=20
> > > ________________________________________________
> > > Message sent using UebiMiau 2.7.10
> > >=20
> > >=20
> >
> >
> > --Sig_/+iDueKU_I30NxBi73LIW/JG
> > Content-Type: application/pgp-signature; name=signature.asc
> > Content-Disposition: attachment; filename=signature.asc
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.6 (GNU/Linux)
> >
> > iD8DBQFIsryDHMBmbW1IlcURAsQHAJ9Ol98aznsahxwRZCqZZS67SttCugCfQbvP
> > /F+igZ/0DWB
>
> ________________________________________________
> Message sent using UebiMiau 2.7.10
>
>
signature.asc
Description: PGP signature
