Paquete | mx.netmon |
Clase | public class NetworkMonitor |
Herencia | NetworkMonitor Object |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Propiedad | Definido por | ||
---|---|---|---|
adjustNetConnectionURLImpl : Function [estática]
To be assigned by mix-in. | NetworkMonitor | ||
adjustURLRequestImpl : Function [estática]
To be assigned by mix-in. | NetworkMonitor | ||
constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | ||
isMonitoringImpl : Function [estática]
To be assigned by mix-in. | NetworkMonitor | ||
monitorEventImpl : Function [estática]
To be assigned by mix-in. | NetworkMonitor | ||
monitorFaultImpl : Function [estática]
To be assigned by mix-in. | NetworkMonitor | ||
monitorInvocationImpl : Function [estática]
To be assigned by mix-in. | NetworkMonitor | ||
monitorResultImpl : Function [estática]
To be assigned by mix-in. | NetworkMonitor |
Método | Definido por | ||
---|---|---|---|
[estática]
Adjust the URL for NetConnectionChannel and HTTPChannel Requests
so that it goes through the monitor. | NetworkMonitor | ||
[estática]
Adjust the URLRequest so that it goes through the monitor. | NetworkMonitor | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
[estática]
Returns true if the monitor is linked and monitoring. | NetworkMonitor | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
[estática]
Tell the monitor that an event occurred. | NetworkMonitor | ||
[estática]
Tell the monitor that a fault occurred. | NetworkMonitor | ||
[estática]
Tell the monitor that an invocation is occuring. | NetworkMonitor | ||
[estática]
Tell the monitor that a result was returned. | NetworkMonitor | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
Devuelve la representación de cadena del objeto especificado. | Object | ||
Devuelve el valor simple del objeto especificado. | Object |
adjustNetConnectionURLImpl | propiedad |
public static var adjustNetConnectionURLImpl:Function
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
adjustURLRequestImpl | propiedad |
public static var adjustURLRequestImpl:Function
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
isMonitoringImpl | propiedad |
public static var isMonitoringImpl:Function
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorEventImpl | propiedad |
public static var monitorEventImpl:Function
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorFaultImpl | propiedad |
public static var monitorFaultImpl:Function
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorInvocationImpl | propiedad |
public static var monitorInvocationImpl:Function
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorResultImpl | propiedad |
public static var monitorResultImpl:Function
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
adjustNetConnectionURL | () | método |
public static function adjustNetConnectionURL(rootUrl:String, url:String):String
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | 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.
Parámetros
rootUrl:String — to adjust.
| |
url:String |
String |
adjustURLRequest | () | método |
public static function adjustURLRequest(urlRequest:URLRequest, rootURL:String, correlationID:String):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | 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)
Parámetros
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 | () | método |
monitorEvent | () | método |
public static function monitorEvent(event:Event, correlationID:String):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | 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.
Parámetros
event:Event — The event that is about to occur (or occurred).
| |
correlationID:String — The correlationID to associate with other events
or the request.
|
monitorFault | () | método |
public static function monitorFault(faultMessage:Object, actualFault:Object):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Tell the monitor that a fault occurred.
Parámetros
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 | () | método |
public static function monitorInvocation(id:String, invocationMessage:Object, messageAgent:Object):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Tell the monitor that an invocation is occuring.
Parámetros
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 | () | método |
public static function monitorResult(resultMessage:Object, actualResult:Object):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Tell the monitor that a result was returned.
Parámetros
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:12 PM Z