Re: [jgroups-dev] Streamable

Vladimir Blagojevic <[email protected]>
Newsgroups gmane.comp.java.javagroups.devel
Message-ID <[email protected]>
Yes, it seems doable. In fact I tried it. The only minor problem are casts in Util#objectFromStream and Util#objectToStream where we have to cast parameter DataInputStream into InputStream and DataOutputStram into OutputStream respectively.

Lets see what Bela says about this.

Any specific reason you need this change?



 
On 2010-05-20, at 11:17 AM, Newcomb, Michael-P57487 wrote:

> Can you make Streamable use DataInput and DataOutput instead of DataInputStream and DataOutputStream? I think you would only lose flush() and size() from DataOutputStream.
> 
> 
> Thanks,
> 
> Michael
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> Javagroups-development mailing list
> 

Vladimir Blagojevic
JBoss Clustering Team
JBoss by Red Hat

------------------------------------------------------------------------------

_______________________________________________
Javagroups-development mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.