flex.messaging.io.amf
Interface ActionMessageInput

All Superinterfaces:
DataInput, ObjectInput

public interface ActionMessageInput
extends ObjectInput

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.

See Also:
Classic / Version 0 Deserializer, AVM+ / Version 3 Deserializer For the serialization equivalent:, ActionMessageOutput

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

readObject

Object readObject()
                  throws ClassNotFoundException,
                         IOException
Reads in an AMF formatted Object.

The following is a guide to the ActionScript to Java type mappings:

ActionScript Type (AMF 3)Java Type
Stringjava.lang.String
Booleanjava.lang.Boolean
int
uint
java.lang.Integer
Numberjava.lang.Double
Datejava.util.Date
ByteArrayjava.util.Byte.TYPE[]
mx.collections.ArrayCollectionflex.messaging.io.ArrayCollection
Arrayjava.lang.Object[] (Native Array)
Objectjava.util.Map
flash.utils.IExternalizablejava.io.Externalizable
Typed Object (other than the above)An instance of type Class (java.lang.Object)
nullnull

ActionScript Type (AMF 0)Java Type
Stringjava.lang.String
Booleanjava.lang.Boolean
int
uint
java.lang.Double
Numberjava.lang.Double
Datejava.util.Date
ByteArray(Not supported)
mx.collections.ArrayCollectionflex.messaging.io.ArrayCollection
Arrayjava.lang.Object[] (Native Array)
Objectjava.util.Map
flash.utils.IExternalizable(Not supported)
Typed Object (other than the above)An instance of type Class (java.lang.Object)
nullnull

Specified by:
readObject in interface ObjectInput
Throws:
ClassNotFoundException
IOException


Copyright © 2007 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/messaging/io/amf/ActionMessageInput.html