Pakket | mx.netmon |
Klasse | public class NetworkMonitor |
Overerving | NetworkMonitor Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
adjustNetConnectionURLImpl : Function [statisch]
To be assigned by mix-in. | NetworkMonitor | ||
adjustURLRequestImpl : Function [statisch]
To be assigned by mix-in. | NetworkMonitor | ||
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
isMonitoringImpl : Function [statisch]
To be assigned by mix-in. | NetworkMonitor | ||
monitorEventImpl : Function [statisch]
To be assigned by mix-in. | NetworkMonitor | ||
monitorFaultImpl : Function [statisch]
To be assigned by mix-in. | NetworkMonitor | ||
monitorInvocationImpl : Function [statisch]
To be assigned by mix-in. | NetworkMonitor | ||
monitorResultImpl : Function [statisch]
To be assigned by mix-in. | NetworkMonitor |
Methode | Gedefinieerd door | ||
---|---|---|---|
[statisch]
Adjust the URL for NetConnectionChannel and HTTPChannel Requests
so that it goes through the monitor. | NetworkMonitor | ||
[statisch]
Adjust the URLRequest so that it goes through the monitor. | NetworkMonitor | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
[statisch]
Returns true if the monitor is linked and monitoring. | NetworkMonitor | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
[statisch]
Tell the monitor that an event occurred. | NetworkMonitor | ||
[statisch]
Tell the monitor that a fault occurred. | NetworkMonitor | ||
[statisch]
Tell the monitor that an invocation is occuring. | NetworkMonitor | ||
[statisch]
Tell the monitor that a result was returned. | NetworkMonitor | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
adjustNetConnectionURLImpl | eigenschap |
public static var adjustNetConnectionURLImpl:Function
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
adjustURLRequestImpl | eigenschap |
public static var adjustURLRequestImpl:Function
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
isMonitoringImpl | eigenschap |
public static var isMonitoringImpl:Function
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorEventImpl | eigenschap |
public static var monitorEventImpl:Function
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorFaultImpl | eigenschap |
public static var monitorFaultImpl:Function
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorInvocationImpl | eigenschap |
public static var monitorInvocationImpl:Function
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorResultImpl | eigenschap |
public static var monitorResultImpl:Function
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
adjustNetConnectionURL | () | methode |
public static function adjustNetConnectionURL(rootUrl:String, url:String):String
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Parameters
rootUrl:String — to adjust.
| |
url:String |
String |
adjustURLRequest | () | methode |
public static function adjustURLRequest(urlRequest:URLRequest, rootURL:String, correlationID:String):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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)
Parameters
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 | () | methode |
monitorEvent | () | methode |
public static function monitorEvent(event:Event, correlationID:String):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Parameters
event:Event — The event that is about to occur (or occurred).
| |
correlationID:String — The correlationID to associate with other events
or the request.
|
monitorFault | () | methode |
public static function monitorFault(faultMessage:Object, actualFault:Object):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Tell the monitor that a fault occurred.
Parameters
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 | () | methode |
public static function monitorInvocation(id:String, invocationMessage:Object, messageAgent:Object):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Tell the monitor that an invocation is occuring.
Parameters
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 | () | methode |
public static function monitorResult(resultMessage:Object, actualResult:Object):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Tell the monitor that a result was returned.
Parameters
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
|
Wed Jun 13 2018, 11:42 AM Z