Pacchetto | mx.netmon |
Classe | public class NetworkMonitor |
Ereditarietà | NetworkMonitor Object |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Proprietà | Definito da | ||
---|---|---|---|
adjustNetConnectionURLImpl : Function [statico]
To be assigned by mix-in. | NetworkMonitor | ||
adjustURLRequestImpl : Function [statico]
To be assigned by mix-in. | NetworkMonitor | ||
constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | ||
isMonitoringImpl : Function [statico]
To be assigned by mix-in. | NetworkMonitor | ||
monitorEventImpl : Function [statico]
To be assigned by mix-in. | NetworkMonitor | ||
monitorFaultImpl : Function [statico]
To be assigned by mix-in. | NetworkMonitor | ||
monitorInvocationImpl : Function [statico]
To be assigned by mix-in. | NetworkMonitor | ||
monitorResultImpl : Function [statico]
To be assigned by mix-in. | NetworkMonitor |
Metodo | Definito da | ||
---|---|---|---|
[statico]
Adjust the URL for NetConnectionChannel and HTTPChannel Requests
so that it goes through the monitor. | NetworkMonitor | ||
[statico]
Adjust the URLRequest so that it goes through the monitor. | NetworkMonitor | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
[statico]
Returns true if the monitor is linked and monitoring. | NetworkMonitor | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
[statico]
Tell the monitor that an event occurred. | NetworkMonitor | ||
[statico]
Tell the monitor that a fault occurred. | NetworkMonitor | ||
[statico]
Tell the monitor that an invocation is occuring. | NetworkMonitor | ||
[statico]
Tell the monitor that a result was returned. | NetworkMonitor | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | ||
Restituisce il valore di base dell'oggetto specificato. | Object |
adjustNetConnectionURLImpl | proprietà |
public static var adjustNetConnectionURLImpl:Function
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
adjustURLRequestImpl | proprietà |
public static var adjustURLRequestImpl:Function
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
isMonitoringImpl | proprietà |
public static var isMonitoringImpl:Function
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorEventImpl | proprietà |
public static var monitorEventImpl:Function
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorFaultImpl | proprietà |
public static var monitorFaultImpl:Function
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorInvocationImpl | proprietà |
public static var monitorInvocationImpl:Function
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorResultImpl | proprietà |
public static var monitorResultImpl:Function
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
adjustNetConnectionURL | () | metodo |
public static function adjustNetConnectionURL(rootUrl:String, url:String):String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Adjust the URL for NetConnectionChannel and HTTPChannel Requests so that it goes through the monitor. Returns the modified url.
Parametri
rootUrl:String — to adjust.
| |
url:String |
String |
adjustURLRequest | () | metodo |
public static function adjustURLRequest(urlRequest:URLRequest, rootURL:String, correlationID:String):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Adjust the URLRequest so that it goes through the monitor. The URLRequest sent to the monitor will have two headers:
actualHostPort
: The realhost:port
for the URL.correlationID
: The correlationID for the request in case it's from messaging (Image/Loader requests need to create their own correlationIDs)
Parametri
urlRequest:URLRequest — The URLRequest to adjust.
(Relative URLs are supported.)
| |
rootURL:String — Computes an absolute URL from the relative URL.
If necessary, pass the SWF file's URL as this value.
| |
correlationID:String — The correlationID that may be used
for associated events.
|
isMonitoring | () | metodo |
monitorEvent | () | metodo |
public static function monitorEvent(event:Event, correlationID:String):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Tell the monitor that an event occurred.
This may be used by the Loader to monitor security and IO errors.
It should not be used for the Loader's complete
event.
Parametri
event:Event — The event that is about to occur (or occurred).
| |
correlationID:String — The correlationID to associate with other events
or the request.
|
monitorFault | () | metodo |
public static function monitorFault(faultMessage:Object, actualFault:Object):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Tell the monitor that a fault occurred.
Parametri
faultMessage:Object — The Message that came back indicating the result.
It be null if this was due to an invocation failure.
(It is untyped here to avoid linking in the dependency.)
| |
actualFault:Object — The Fault that occurred.
(It is untyped here to avoid linking in the dependency.)
|
monitorInvocation | () | metodo |
public static function monitorInvocation(id:String, invocationMessage:Object, messageAgent:Object):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Tell the monitor that an invocation is occuring.
Parametri
id:String — The id of the tag causing the invocation
if it can be determined.
| |
invocationMessage:Object — The Message that will be sent across the wire.
(It is untyped here to avoid linking in the dependency.)
| |
messageAgent:Object |
monitorResult | () | metodo |
public static function monitorResult(resultMessage:Object, actualResult:Object):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Flex 3 |
Versioni runtime: | Flash Player 9, AIR 1.1 |
Tell the monitor that a result was returned.
Parametri
resultMessage:Object — The Message that came back indicating the result.
(It is untyped here to avoid linking in the dependency.)
| |
actualResult:Object — the decoded result
|
Tue Jun 12 2018, 02:44 PM Z