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:
> 
> > &gt; I'd like to point out that there's an error in the IoFilter
> > &gt; documentation on the website. It shows the following code:
> > &gt;=20
> > &gt; public void filterWrite(NextFilter nextFilter, IoSession
> > session, &gt; WriteRequest request) {
> > &gt;     nextFilter.filterWrite(
> > &gt;             session, new WriteRequest(
> > &gt;                     ((String)
> > request.getMessage()).toCharArray(), &gt; request.getFuture(),
> > request.getDestination())); &gt; }
> > &gt;=20
> > &gt; However, WriteRequest is an Interface in Mina 2.0.0 and can
> > therefor &gt; 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 &lt;[EMAIL PROTECTED]&gt; wrote:
> > 
> > &gt; Hello,
> > &gt;=20
> > &gt; I'd like to point out that there's an error in the IoFilter
> > &gt; documentation on the website. It shows the following code:
> > &gt;=20
> > &gt; public void filterWrite(NextFilter nextFilter, IoSession
> > session, &gt; WriteRequest request) {
> > &gt;     nextFilter.filterWrite(
> > &gt;             session, new WriteRequest(
> > &gt;                     ((String)
> > request.getMessage()).toCharArray(), &gt; request.getFuture(),
> > request.getDestination())); &gt; }
> > &gt;=20
> > &gt; However, WriteRequest is an Interface in Mina 2.0.0 and can
> > therefor &gt; not be instantiated.
> > &gt;=20
> > &gt; Who can i address this kind of comment to?
> > &gt;=20
> > &gt; Greets,
> > &gt; Geert Schuring.
> > &gt; The Netherlands.
> > &gt;=20
> > &gt; ________________________________________________
> > &gt; Message sent using UebiMiau 2.7.10
> > &gt;=20
> > &gt;=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
> 
> 

Attachment: signature.asc
Description: PGP signature

Reply via email to