When I try sending String, int primitive value from java side to AS, AS can read it successfully. But If I send a custom object to AS, AS can't decode it. Does it mean flah.net.Socket must rely on AMF library like BlazeDS to decode custom object?
Yes, that is the case. It is actually also the case for primitive ints, but AS3 is implicitly converting the int string into an int for you, if you save it in a int variable.
By the way, you do not have to use the Socket connection to use AMF, but you certainly can .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.