org.spicefactory.cinnamon.io.amf
Interface AMFType


public interface AMFType

Constants for the AMF3 type code bytes.

Author:
Jens Halm

Field Summary
static byte AMF0_ARRAY
          Constant for the AMF0 Array type code.
static byte AMF3_IN_AMF0
          Constant for the AMF3 data type in AMF0.
static byte ARRAY
          Constant for the type code for ActionScript Array values.
static byte BYTE_ARRAY
          Constant for the type code for byte array values.
static byte DATE
          Constant for the type code for Date values.
static byte FALSE
          Constant for the type code for boolean false values.
static byte INT
          Constant for the type code for integer values.
static byte NULL
          Constant for the type code for null values.
static byte NUMBER
          Constant for the type code for Number values.
static byte OBJECT
          Constant for the type code for Object values.
static byte STRING
          Constant for the type code for String values.
static byte TRUE
          Constant for the type code for boolean true values.
static byte UNDEFINED
          Constant for the type code for undefined values.
static byte XML
          Constant for the type code for XML values which map to the top level XML class in AS3.
static byte XML_LEGACY
          Constant for the type code for legacy XML values which map to the flash.xml.XMLDocument class.
 

Field Detail

UNDEFINED

static final byte UNDEFINED
Constant for the type code for undefined values.

See Also:
Constant Field Values

NULL

static final byte NULL
Constant for the type code for null values.

See Also:
Constant Field Values

FALSE

static final byte FALSE
Constant for the type code for boolean false values.

See Also:
Constant Field Values

TRUE

static final byte TRUE
Constant for the type code for boolean true values.

See Also:
Constant Field Values

INT

static final byte INT
Constant for the type code for integer values.

See Also:
Constant Field Values

NUMBER

static final byte NUMBER
Constant for the type code for Number values.

See Also:
Constant Field Values

STRING

static final byte STRING
Constant for the type code for String values.

See Also:
Constant Field Values

XML_LEGACY

static final byte XML_LEGACY
Constant for the type code for legacy XML values which map to the flash.xml.XMLDocument class.

See Also:
Constant Field Values

DATE

static final byte DATE
Constant for the type code for Date values.

See Also:
Constant Field Values

ARRAY

static final byte ARRAY
Constant for the type code for ActionScript Array values.

See Also:
Constant Field Values

OBJECT

static final byte OBJECT
Constant for the type code for Object values.

See Also:
Constant Field Values

XML

static final byte XML
Constant for the type code for XML values which map to the top level XML class in AS3.

See Also:
Constant Field Values

BYTE_ARRAY

static final byte BYTE_ARRAY
Constant for the type code for byte array values.

See Also:
Constant Field Values

AMF0_ARRAY

static final byte AMF0_ARRAY
Constant for the AMF0 Array type code. While AMF0 is not supported in Cinnamon, the AMF request sent by the Flash Player always contains an AMF0 Array with the parameters sent by the client. In Cinnamon this will always be an AMF0 Array with one AMF3 encoded element (usually an instance of ServiceMessage).

See Also:
Constant Field Values

AMF3_IN_AMF0

static final byte AMF3_IN_AMF0
Constant for the AMF3 data type in AMF0. Each AMF3 object contained in AMF0 data carries this type code as identifier.

See Also:
Constant Field Values