directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <trus...@gmail.com>
Subject Re: [mina] Object Serialization/De-serialization.
Date Fri, 11 Nov 2005 23:36:11 GMT
Hi Amit,

Out-of-the-box object serilization filter is pending. Please take a look at
here:

http://issues.apache.org/jira/browse/DIRMINA-51

Your implementation will work, but not so efficiently because of the nature
of StreamIoHandler.

HTH,
Trustin

2005/11/12, Amit Kumar <amitku@uiuc.edu>:
>
> Okay I realize my folly now: extending StreamIoHandler and over
> riding processStreamIo seems to do the trick.
>
> Regards,
> Amit
>
> On Nov 11, 2005, at 1:07 PM, Amit Kumar wrote:
>
> > Hi,
> >
> > First of all thank you for MINA. It is exactly I want; I think. I
> > am new to MINA and I am porting a multi threaded application that
> > shares desktop across the network.
> >
> > My problem is that I am unable to receive serialized objects in
> > MINA. I am trying to read Object from the ObjectInputStream in
> > the dataRead function of IoHandler, but with no luck. --EOF/
> > StreamCorrupted Exceptions.
> >
> > The examples that come with MINA are all string based I/O, I am not
> > sure if a filter or a Protocol codec exists for Object
> > serialization. Can some one guide me please. I can post the sample
> > code if that would help.
> >
> > I am using 0.81 release.
> >
> > Regards,
> >
> > Amit
> >
>
>


--
what we call human nature is actually human habit
--
http://gleamynode.net/

Mime
View raw message