blob: fc5be74865e15fd0f2c613b6f39b70ffd78fad73 [file] [log] [blame]
{ "type": "class",
"qname": "mx.rpc.events.ResultEvent",
"baseClassname": "mx.rpc.events.AbstractEvent"
,
"description": "The event that indicates an RPC operation has successfully returned a result.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"members": [
{ "type": "field",
"qname": "RESULT",
"return": "String",
"namespace": "public",
"bindable": [],
"details": ["static"],
"deprecated": {},
"description": "The RESULT event type. <p>The properties of the event object have the following values:</p> <table class=&quot;innertable&quot;> <tr><th>Property</th><th>Value</th></tr> <tr><td><code>bubbles</code></td><td>false</td></tr> <tr><td><code>cancelable</code></td><td>true, preventDefault() from the associated token's responder.result method will prevent the service or operation from dispatching this event</td></tr> <tr><td><code>currentTarget</code></td><td>The Object that defines the event listener that handles the event. For example, if you use <code>myButton.addEventListener()</code> to register an event listener, myButton is the value of the <code>currentTarget</code>. </td></tr> <tr><td><code>message</code></td><td> The Message associated with this event.</td></tr> <tr><td><code>target</code></td><td>The Object that dispatched the event; it is not always the Object listening for the event. Use the <code>currentTarget</code> property to always access the Object listening for the event.</td></tr> <tr><td><code>result</code></td><td>Result that the RPC call returns.</td></tr> <tr><td><code>token</code></td><td>The token that represents the indiviudal call to the method. Used in the asynchronous completion token pattern.</td></tr> </table>",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "eventType",
"values": ["result"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "method",
"qname": "mx.rpc.events.ResultEvent",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Creates a new ResultEvent.",
"tags": [
{ "tagName": "param",
"values": ["type The event type; indicates the action that triggered the event.", "bubbles Specifies whether the event can bubble up the display list hierarchy.", "cancelable Specifies whether the behavior associated with the event can be prevented.", "result Object that holds the actual result of the call.", "token Token that represents the call to the method. Used in the asynchronous completion token pattern.", "message Source Message of the result."]},
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "",
"params": [{ "name": "type", "type": "String"},
{ "name": "bubbles", "type": "Boolean"},
{ "name": "cancelable", "type": "Boolean"},
{ "name": "result", "type": "Object"},
{ "name": "token", "type": "mx.rpc.AsyncToken"},
{ "name": "message", "type": "mx.messaging.messages.IMessage"}]}
,
{ "type": "accessor",
"access": "read-write",
"return": "Object",
"qname": "headers",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "In certain circumstances, headers may also be returned with a result to provide further context.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-only",
"return": "Object",
"qname": "result",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Result that the RPC call returns.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "accessor",
"access": "read-only",
"return": "int",
"qname": "statusCode",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "If the source message was sent via HTTP, this property provides access to the HTTP response status code (if available), otherwise the value is 0.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "method",
"qname": "toString",
"namespace": "public",
"bindable": [],
"details": ["override"],
"deprecated": {},
"description": "Returns a string representation of the ResultEvent.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "return",
"values": ["String representation of the ResultEvent."]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "String",
"params": []}
,
{ "type": "method",
"qname": "callTokenResponders",
"namespace": "mx_internal",
"bindable": [],
"details": ["override"],
"deprecated": {},
"return": "void",
"params": []}
,
{ "type": "method",
"qname": "setResult",
"namespace": "mx_internal",
"bindable": [],
"details": [],
"deprecated": {},
"return": "void",
"params": [{ "name": "r", "type": "Object"}]}
]
}