On Sat, 5 Apr 2008 11:09:36 +0200 "Alessio Pace" <[EMAIL PROTECTED]> wrote:
> Hello, > > I'm new to this ML, and I'm pretty new to MINA too (I've seen some > presentations, some documentations and run the examples in the 1.0 > branches). > > I would like to know if I can use MINA to register all my application > layer protocols over the same channel (ie. a NIO DatagramChannel), > and dispatch in/out messages to/from my application layer specific > handlers. > > My requirements are that there is one DatagramChannel opened once and > for all (to send/receive stuff), then the application layer handlers > just send/receive stuff to/from the layer below (MINA filter chain or > whatever) without knowing of the detail of the transport protocol (if > not really necessary). > > If it is doable, is there any example to look at or some guide lines > that you can provide me? > > Thanks in advance, Hi, Take a look at org.apache.mina.filter.codec.demux it'll probably help you. Julien
signature.asc
Description: PGP signature
