Pakiet | mx.netmon |
Klasa | public class NetworkMonitor |
Dziedziczenie | NetworkMonitor ![]() |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Właściwość | Zdefiniowane przez | ||
---|---|---|---|
adjustNetConnectionURLImpl : Function [statyczny]
To be assigned by mix-in. | NetworkMonitor | ||
adjustURLRequestImpl : Function [statyczny]
To be assigned by mix-in. | NetworkMonitor | ||
![]() | constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | Object | |
isMonitoringImpl : Function [statyczny]
To be assigned by mix-in. | NetworkMonitor | ||
monitorEventImpl : Function [statyczny]
To be assigned by mix-in. | NetworkMonitor | ||
monitorFaultImpl : Function [statyczny]
To be assigned by mix-in. | NetworkMonitor | ||
monitorInvocationImpl : Function [statyczny]
To be assigned by mix-in. | NetworkMonitor | ||
monitorResultImpl : Function [statyczny]
To be assigned by mix-in. | NetworkMonitor |
Metoda | Zdefiniowane przez | ||
---|---|---|---|
[statyczny]
Adjust the URL for NetConnectionChannel and HTTPChannel Requests
so that it goes through the monitor. | NetworkMonitor | ||
[statyczny]
Adjust the URLRequest so that it goes through the monitor. | NetworkMonitor | ||
![]() |
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | |
[statyczny]
Returns true if the monitor is linked and monitoring. | NetworkMonitor | ||
![]() |
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | |
[statyczny]
Tell the monitor that an event occurred. | NetworkMonitor | ||
[statyczny]
Tell the monitor that a fault occurred. | NetworkMonitor | ||
[statyczny]
Tell the monitor that an invocation is occuring. | NetworkMonitor | ||
[statyczny]
Tell the monitor that a result was returned. | NetworkMonitor | ||
![]() |
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | |
![]() |
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | |
![]() |
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | |
![]() |
Zwraca ciąg reprezentujący określony obiekt. | Object | |
![]() |
Zwraca pierwotną wartość dla określonego obiektu. | Object |
adjustNetConnectionURLImpl | właściwość |
public static var adjustNetConnectionURLImpl:Function
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
adjustURLRequestImpl | właściwość |
public static var adjustURLRequestImpl:Function
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
isMonitoringImpl | właściwość |
public static var isMonitoringImpl:Function
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorEventImpl | właściwość |
public static var monitorEventImpl:Function
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorFaultImpl | właściwość |
public static var monitorFaultImpl:Function
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorInvocationImpl | właściwość |
public static var monitorInvocationImpl:Function
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
monitorResultImpl | właściwość |
public static var monitorResultImpl:Function
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
To be assigned by mix-in.
adjustNetConnectionURL | () | metoda |
public static function adjustNetConnectionURL(rootUrl:String, url:String):String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | 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.
Parametry
rootUrl:String — to adjust.
| |
url:String |
String |
adjustURLRequest | () | metoda |
public static function adjustURLRequest(urlRequest:URLRequest, rootURL:String, correlationID:String):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | 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)
Parametry
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 | () | metoda |
monitorEvent | () | metoda |
public static function monitorEvent(event:Event, correlationID:String):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | 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.
Parametry
event:Event — The event that is about to occur (or occurred).
| |
correlationID:String — The correlationID to associate with other events
or the request.
|
monitorFault | () | metoda |
public static function monitorFault(faultMessage:Object, actualFault:Object):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Tell the monitor that a fault occurred.
Parametry
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 | () | metoda |
public static function monitorInvocation(id:String, invocationMessage:Object, messageAgent:Object):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Tell the monitor that an invocation is occuring.
Parametry
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 | () | metoda |
public static function monitorResult(resultMessage:Object, actualResult:Object):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Tell the monitor that a result was returned.
Parametry
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, 12:06 PM Z