Paket | mx.netmon |
Klass | public class NetworkMonitor |
Arv | NetworkMonitor Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Egenskap | Definieras med | ||
---|---|---|---|
adjustNetConnectionURLImpl : Function [statisk]
To be assigned by mix-in. | NetworkMonitor | ||
adjustURLRequestImpl : Function [statisk]
To be assigned by mix-in. | NetworkMonitor | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
isMonitoringImpl : Function [statisk]
To be assigned by mix-in. | NetworkMonitor | ||
monitorEventImpl : Function [statisk]
To be assigned by mix-in. | NetworkMonitor | ||
monitorFaultImpl : Function [statisk]
To be assigned by mix-in. | NetworkMonitor | ||
monitorInvocationImpl : Function [statisk]
To be assigned by mix-in. | NetworkMonitor | ||
monitorResultImpl : Function [statisk]
To be assigned by mix-in. | NetworkMonitor |
Metod | Definieras med | ||
---|---|---|---|
[statisk]
Adjust the URL for NetConnectionChannel and HTTPChannel Requests
so that it goes through the monitor. | NetworkMonitor | ||
[statisk]
Adjust the URLRequest so that it goes through the monitor. | NetworkMonitor | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
[statisk]
Returns true if the monitor is linked and monitoring. | NetworkMonitor | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
[statisk]
Tell the monitor that an event occurred. | NetworkMonitor | ||
[statisk]
Tell the monitor that a fault occurred. | NetworkMonitor | ||
[statisk]
Tell the monitor that an invocation is occuring. | NetworkMonitor | ||
[statisk]
Tell the monitor that a result was returned. | NetworkMonitor | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object |
adjustNetConnectionURLImpl | egenskap |
public static var adjustNetConnectionURLImpl:Function
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
adjustURLRequestImpl | egenskap |
public static var adjustURLRequestImpl:Function
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
isMonitoringImpl | egenskap |
public static var isMonitoringImpl:Function
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorEventImpl | egenskap |
public static var monitorEventImpl:Function
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorFaultImpl | egenskap |
public static var monitorFaultImpl:Function
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorInvocationImpl | egenskap |
public static var monitorInvocationImpl:Function
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorResultImpl | egenskap |
public static var monitorResultImpl:Function
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
adjustNetConnectionURL | () | metod |
public static function adjustNetConnectionURL(rootUrl:String, url:String):String
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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.
Parametrar
rootUrl:String — to adjust.
| |
url:String |
String |
adjustURLRequest | () | metod |
public static function adjustURLRequest(urlRequest:URLRequest, rootURL:String, correlationID:String):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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)
Parametrar
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 | () | metod |
monitorEvent | () | metod |
public static function monitorEvent(event:Event, correlationID:String):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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.
Parametrar
event:Event — The event that is about to occur (or occurred).
| |
correlationID:String — The correlationID to associate with other events
or the request.
|
monitorFault | () | metod |
public static function monitorFault(faultMessage:Object, actualFault:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Tell the monitor that a fault occurred.
Parametrar
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 | () | metod |
public static function monitorInvocation(id:String, invocationMessage:Object, messageAgent:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Tell the monitor that an invocation is occuring.
Parametrar
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 | () | metod |
public static function monitorResult(resultMessage:Object, actualResult:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Tell the monitor that a result was returned.
Parametrar
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, 01:40 PM Z