blob: 249adb121df110ab403bdf9162bc11ebd927a817 [file] [log] [blame]
{ "type": "class",
"qname": "mx.messaging.channels.amfx.AMFXContext",
"baseClassname": ""
,
"description": "Holds a list of complex object references, object trait info references, or string references generated while encoding or decoding and AMFX packet. Note that a new set of reference tables should be used per AMFX packet. Calling reset() will create new tables for each of these types of references.",
"tags": [
{ "tagName": "private",
"values": []} ],
"members": [
{ "type": "method",
"qname": "mx.messaging.channels.amfx.AMFXContext",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Constructor. Initializes object, trait info and string reference tables.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "",
"params": []}
,
{ "type": "method",
"qname": "reset",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Resets the trait info, object and string reference tables.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": []}
,
{ "type": "method",
"qname": "findTraitInfo",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Check whether the trait info reference table already contains this list of traits. If found, the index of the trait info is returned, starting from 0. If not found -1 is returned.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "int",
"params": [{ "name": "traitInfo", "type": "Object"}]}
,
{ "type": "method",
"qname": "findObject",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Check whether the object reference table already contains this object. If found, the index of the object is returned, starting from 0. If not found -1 is returned.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "int",
"params": [{ "name": "object", "type": "Object"}]}
,
{ "type": "method",
"qname": "findString",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Check whether the string reference table already contains this string. If found, the index of the string is returned, starting from 0. If not found (or if the value passed is the empty string) -1 is returned.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "int",
"params": [{ "name": "str", "type": "String"}]}
,
{ "type": "method",
"qname": "addTraitInfo",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Remember the trait info for an object in this context for an encoding or decoding session.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "traitInfo", "type": "Object"}]}
,
{ "type": "method",
"qname": "addObject",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Remember an object in this context for an encoding or decoding session.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "obj", "type": "Object"}]}
,
{ "type": "method",
"qname": "addString",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Remember a string in this context for an encoding or decoding session. Note that the empty string is not remembered as it should not be serialized by reference.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "void",
"params": [{ "name": "str", "type": "String"}]}
,
{ "type": "method",
"qname": "getTraitInfo",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Retrieve trait info for an object by its reference table index.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "*",
"params": [{ "name": "ref", "type": "uint"}]}
,
{ "type": "method",
"qname": "getObject",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Retrieve an object by its reference table index.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "*",
"params": [{ "name": "ref", "type": "uint"}]}
,
{ "type": "method",
"qname": "getString",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Retrieve a string by its reference table index.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "String",
"params": [{ "name": "ref", "type": "uint"}]}
,
{ "type": "field",
"qname": "traits",
"return": "Array",
"namespace": "internal",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Trait Info reference table",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "field",
"qname": "objects",
"return": "Array",
"namespace": "internal",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Object reference table",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "field",
"qname": "strings",
"return": "Array",
"namespace": "internal",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Strings reference table",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "field",
"qname": "log",
"return": "mx.logging.ILogger",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Log for the current encoder/decoder context.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["BlazeDS 4", "LCDS 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]}]
}