|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ActionMessageInput
This simple interface allows the MessageDeserializer to handle multiple versions of AMF. Entry point for deserializing an individual ActionMessage request message for AMF, AMFX or RTMP.
Classic Version 0 Deserializer,
AVM+ Version 3 Deserializer,
The serialization equivalent| Method Summary | |
|---|---|
Object |
readObject()
Reads in an AMF formatted Object. |
| Methods inherited from interface java.io.ObjectInput |
|---|
available, close, read, read, read, skip |
| Methods inherited from interface java.io.DataInput |
|---|
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
| Method Detail |
|---|
Object readObject()
throws ClassNotFoundException,
IOException
The following is a guide to the ActionScript to Java type mappings:
| ActionScript Type (AMF 3) | Java Type |
| String | java.lang.String |
| Boolean | java.lang.Boolean |
| int uint | java.lang.Integer |
| Number | java.lang.Double |
| Date | java.util.Date |
| ByteArray | java.util.Byte.TYPE[] |
| mx.collections.ArrayCollection | flex.messaging.io.ArrayCollection |
| Array | java.lang.Object[] (Native Array) |
| Object | java.util.Map |
| flash.utils.IExternalizable | java.io.Externalizable |
| Typed Object (other than the above) | An instance of type Class (java.lang.Object) |
| null | null |
| ActionScript Type (AMF 0) | Java Type |
| String | java.lang.String |
| Boolean | java.lang.Boolean |
| int uint | java.lang.Double |
| Number | java.lang.Double |
| Date | java.util.Date |
| ByteArray | (Not supported) |
| mx.collections.ArrayCollection | flex.messaging.io.ArrayCollection |
| Array | java.lang.Object[] (Native Array) |
| Object | java.util.Map |
| flash.utils.IExternalizable | (Not supported) |
| Typed Object (other than the above) | An instance of type Class (java.lang.Object) |
| null | null |
readObject in interface ObjectInputClassNotFoundException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/io/amf/ActionMessageInput.html