Hello Chris, i was reading about xml pullparser and also about MINA. it looks like that should be the way you choose,(i must say that MINA is very big, too big to understand all the source when you walk through SVN) i will read the getting started, looks thats easier that try to understand the source.
i was thinking about the xml pullparser and MINA, and i just want to ask you some questions. 1) for what will you use the xml-socket? client server or server - server usage, i think u will use it for client server usage 2) what will you do with the datas? will you just have it ready parsed as a document or even a object for the usage with a webapplication? or will you have any kind of backend, may server commands? anyway , could u may point me to the MINA class where the incomming buffered stream is about to getting read out? i would like to see how them handle a dead client or better a not closed(not terminated) stream or does MINA use the Buffers for something else? greetz Sascha Chris Allen schrieb: > You guys may want to look at an XML Pull Parser: > http://www.xmlpull.org/. When I was working for Mass General Hospital > I used one to parse XML coming from an XMPP/Jabber server going to a > Socket server I wrote in Java using MINA. Being able to parse the XML > as it was coming in was key to getting it to work properly. I know > that being able to turn the XML directly into an Object directly is > nice, but I opted for the pull parser for performance reasons as well > as to guarantee that I had a complete block of XML before proceeding. > The null byte that Flash gives you might make the later part a > non-issue though. > > Anyway, this may be a good start for us to create the XMLSocket piece > for Red5 when we get to that. Of course any information or > implementation that you guys come up with would be great if you could > share with us how you do it. > > -Chris > > > > _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
