Guida di riferimento di ActionScript® 3.0 per la piattaforma Adobe® Flash®
Home  |  Nascondi elenco pacchetti e classi |  Pacchetti  |  Classi  |  Novità  |  Indice  |  Appendici  |  Perché in inglese?
Filtri: Recupero dati dal server...
Recupero dati dal server...
mx.rpc 

Responder  - AS3 Flex

Pacchettomx.rpc
Classepublic class Responder
EreditarietàResponder Inheritance Object
Implementa IResponder

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

This class provides a default implementation of the mx.rpc.IResponder interface.



Proprietà pubbliche
 ProprietàDefinito da
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
Metodi pubblici
 MetodoDefinito da
  
Responder(result:Function, fault:Function)
Constructs an instance of the responder with the specified handlers.
Responder
  
This method is called by a service when an error has been received.
Responder
 Inherited
Indica se per un oggetto è definita una proprietà specifica.
Object
 Inherited
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro.
Object
 Inherited
Indica se la proprietà specificata esiste ed è enumerabile.
Object
  
This method is called by a remote service when the return value has been received.
Responder
 Inherited
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche.
Object
 Inherited
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate.
Object
 Inherited
Restituisce la rappresentazione in formato stringa dell'oggetto specificato.
Object
 Inherited
Restituisce il valore di base dell'oggetto specificato.
Object
Descrizione della funzione di costruzione

Responder

()Funzione di costruzione
public function Responder(result:Function, fault:Function)

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

Constructs an instance of the responder with the specified handlers.

Parametri
result:Function — Function that should be called when the request has completed successfully.
 
fault:Function — Function that should be called when the request has completed with errors.
Descrizione dei metodi

fault

()metodo
public function fault(info:Object):void

This method is called by a service when an error has been received.

Parametri

info:Object — Object containing the information returned from the request. While info is typed as Object, it is often (but not always) an mx.rpc.events.FaultEvent.

result

()metodo 
public function result(data:Object):void

This method is called by a remote service when the return value has been received.

Parametri

data:Object — Object containing the information about the error that occured. . While data is typed as Object, it is often (but not always) an mx.rpc.events.ResultEvent.





[ X ]Perché in inglese?
Il contenuto della Guida di riferimento di ActionScript 3.0 appare in inglese

Non tutte le parti della Guida di riferimento di ActionScript 3.0 sono tradotte in tutte le lingue. Quando un elemento del linguaggio non è tradotto, viene riportato in inglese. Ad esempio, la classe ga.controls.HelpBox non è tradotta in nessuna lingua. Pertanto, nella versione italiana della guida di riferimento, la descrizione della classe ga.controls.HelpBox è riportata in inglese.