> Start/Stop mina is not a problem. My guess is that your magic (handling the
> hessian protocol) is implemented in your MethodAwareStreamHandler. Is this
> correct?

Correct.

> Yes. I don't need jetty. I'm not writing a servlet application. I'm writing
> a little server to listen to UDP packates and notify who is interested. I'm
> trying to use hessian as the client/server protocol.

Fair enough. In that case I would not be looking at the stuff I was
doing because it is based on a lower level streaming API for hessian
that I wrote ( http://wireformat.org/hessian-streaming-example.shtml
), which will not work so well using a packet orientated network
protocol. In that case I would recommend you looking at the source
code of caucho's implementation to see how you can adapt the
HessianInput and HessianOuput classes so that they work in a frame
based fashion. One method that springs to mind is to read/write
to/from ByteArray buffers which can composed to/decomposed from
network frames, but I haven't really thought about this too much.

HTH,

Ben


_______________________________________________
hessian-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/hessian-interest

Reply via email to