Is all this documented somewhere?
On 3/18/06, Greg Duffy <[EMAIL PROTECTED]> wrote: > > StreamIoHandler is mostly for adapting existing stream based IO logic. > It still internally uses the same things every other IoHandler uses > (MINA-provided ByteBuffers). > > So, if you are doing something new, you might as well write a regular > IoHandler. Your clients do not need to be written in Java, MINA > creates the ByteBuffer from the data coming in from the network and > passes it to you. > > -Greg > > On 3/17/06, Zohar Amir <[EMAIL PROTECTED]> wrote: > > What are the considerations for using IoHandler vs. StreamIoHandler? > > As for using a ByteBuffer for the XML - if only my clients were Java... > ;) > > Thanks, > > Zohar. > > > > On 3/18/06, peter royal <[EMAIL PROTECTED]> wrote: > > > > > > On Mar 16, 2006, at 4:48 PM, Zohar Amir wrote: > > > > I need to put up a server that handles client requests. Each client > > > > connects > > > > via TCP to the server and then they exchange messages. The messages > > > > are > > > > built as a PDU wrapping an XML message. > > > > > > I'd use the protocol encoder/decoder.. If its just an XML message, > > > you can just put the XML as a string into a ByteBuffer.. > > > -pete > > > > > > -- > > > [EMAIL PROTECTED] - http://fotap.org/~osi > > > > > > > > > > > > > > > > > > > >
