Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Flex and the fly likes Deocde AMF stream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Deocde AMF stream" Watch "Deocde AMF stream" New topic
Author

Deocde AMF stream

chris kumar
Greenhorn

Joined: Jun 04, 2009
Posts: 17
Hi All,

How can we decode amf stream ..? Is there any library that helps doing, that if so can you please point me to a web resource or an
example.

Thanks,
Chris
Dan Orlando
author
Ranch Hand

Joined: Mar 04, 2010
Posts: 31
This is a bit of a can of worms once opened, but if you are good with low-level TCP/IP communication (binary and hex), it may not be too cumbersome for you. What you'll want to do is review the AMF0 and AMF3 open specification documents from Adobe, but beware that they are a bit dated (there are some "anomalies" in regard to data typing). For the server side, BlazeDS is open source, so you might want to download and decompile the JARs to see how it does it. I'll warn you in advance though, don't be surprised to find some pretty messy code inside if you do decompile Blaze. For the client side, dig into the classes in the mx.messaging package.


Dan Orlando
Adobe Community Professional
Author, Flex 4 in Action (Manning Press)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deocde AMF stream