RE: Protocol Decoders on C++

2008-10-30 Thread Craig L. Ching
It's bigger than just a protocol encoder/decoder, but you can check out ACE: http://www.cs.wustl.edu/~schmidt/ACE.html We've been using it in our products for the last 8+ years, it's very high quality and very cross-platform. Good luck! Cheers, Craig > -Original Message- > From: Emma

RE: Current state of 2.0

2008-06-06 Thread Craig L. Ching
Sorry, but I said ByteBuffer, I mean IoBuffer. > -Original Message- > From: Craig L. Ching [mailto:[EMAIL PROTECTED] > Sent: Friday, June 06, 2008 10:32 AM > To: dev@mina.apache.org; [EMAIL PROTECTED] > Subject: RE: Current state of 2.0 > > > > > -

RE: Current state of 2.0

2008-06-06 Thread Craig L. Ching
> -Original Message- > From: Emmanuel Lecharny [mailto:[EMAIL PROTECTED] On > Behalf Of Emmanuel Lecharny > Sent: Friday, June 06, 2008 10:23 AM > To: dev@mina.apache.org > Subject: Re: Current state of 2.0 > > Craig L. Ching wrote: > > Hi all, > >

Current state of 2.0

2008-06-05 Thread Craig L. Ching
Hi all, I've been sort of following some of the discussions of the proposed changes and I like what I'm hearing. In fact, I'd love it if someone could say how soon I could expect to see a release of all the good ideas ;-) Anyway, I'm coming back to a project that I had originally working with 1.

RE: mina2.0.0-M1 vs mina1.1.6

2008-04-09 Thread Craig L. Ching
I don't know if it's related or not, but a bug was fixed recently where byte buffer expansion was much slower than it should have been. If you're using expandable byte buffers, you might want to check out the svn trunk and test with that. Cheers, Craig > -Original Message- > From: Steve

RE: IoBuffer and auto expand

2008-03-17 Thread Craig L. Ching
Awesome, fix works great, thanks Trustin! Cheers, Craig > -Original Message- > From: Craig L. Ching [mailto:[EMAIL PROTECTED] > Sent: Monday, March 17, 2008 9:19 AM > To: dev@mina.apache.org > Subject: RE: IoBuffer and auto expand > > Hi Trustin, > > Thanks

RE: IoBuffer and auto expand

2008-03-17 Thread Craig L. Ching
ure. I'd suggest expansionRate (float, default = 2.0) property in > IoBuffer. > > Please also note that you can manually expand the buffer by calling > IoBuffer.expand(...) method. > > HTH, > > On Fri, 14 Mar 2008 04:41:12 +0900, Craig L. Ching <[EMAIL PROTECTED]> > wr

IoBuffer and auto expand

2008-03-13 Thread Craig L. Ching
Hi, I've changed over to using the latest milestone release, 2.0.0-M1 and I have a question about IoBuffer.autoExpand(true). I'm basically doing the following: IoBuffer buf = IoBuffer.allocate(1024); buf.setAutoExpand(true); [various buf.putXXX calls] buf.flip(); [write buffer] I note that t