Package | mx.netmon |
Class | public class NetworkMonitor |
Inheritance | NetworkMonitor ![]() |
Property | Defined By | ||
---|---|---|---|
adjustURLRequestImpl : Function [static]
To be assigned by mix-in. | NetworkMonitor | ||
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
isMonitoringImpl : Function [static]
To be assigned by mix-in. | NetworkMonitor | ||
monitorEventImpl : Function [static]
To be assigned by mix-in. | NetworkMonitor | ||
monitorFaultImpl : Function [static]
To be assigned by mix-in. | NetworkMonitor | ||
monitorInvocationImpl : Function [static]
To be assigned by mix-in. | NetworkMonitor | ||
monitorResultImpl : Function [static]
To be assigned by mix-in. | NetworkMonitor | ||
![]() | prototype : Object [static]
A reference to the prototype object of a class or function object. | Object |
Method | Defined By | ||
---|---|---|---|
[static]
Adjust the URLRequest so that it goes through the monitor. | NetworkMonitor | ||
![]() |
Indicates whether an object has a specified property defined. | Object | |
[static]
Returns true if the monitor is linked and monitoring. | NetworkMonitor | ||
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
[static]
Tell the monitor that an event occurred. | NetworkMonitor | ||
[static]
Tell the monitor that a fault occurred. | NetworkMonitor | ||
[static]
Tell the monitor that an invocation is occuring. | NetworkMonitor | ||
[static]
Tell the monitor that a result was returned. | NetworkMonitor | ||
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object |
adjustURLRequestImpl | property |
public static var adjustURLRequestImpl:Function
To be assigned by mix-in.
isMonitoringImpl | property |
public static var isMonitoringImpl:Function
To be assigned by mix-in.
monitorEventImpl | property |
public static var monitorEventImpl:Function
To be assigned by mix-in.
monitorFaultImpl | property |
public static var monitorFaultImpl:Function
To be assigned by mix-in.
monitorInvocationImpl | property |
public static var monitorInvocationImpl:Function
To be assigned by mix-in.
monitorResultImpl | property |
public static var monitorResultImpl:Function
To be assigned by mix-in.
adjustURLRequest | () | method |
public static function adjustURLRequest(urlRequest:URLRequest, rootURL:String, correlationID:String):void
Adjust the URLRequest so that it goes through the monitor. The URLRequest sent to the monitor will have two headers: actualHostPort -- the real host: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 — Used to compute an absolute URL from the relative
if necessary, pass the SWFs URL.
| |
correlationID:String — The correlationID that may be used
for associated events.
|
isMonitoring | () | method |
public static function isMonitoring():Boolean
Returns true if the monitor is linked and monitoring.
ReturnsBoolean |
monitorEvent | () | method |
public static function monitorEvent(event:Event, correlationID:String):void
Tell the monitor that an event occurred. This may be used by the Loader to monitor Security and IOErrors (not that Security will ever be thrown). I don't think it should be used in the general case and I'm not sure it should be used for the Loader's complete event either...
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 | () | method |
public static function monitorFault(faultMessage:Object, actualFault:Object):void
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 | () | method |
public static function monitorInvocation(id:String, invocationMessage:Object, messageAgent:Object):void
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 | () | method |
public static function monitorResult(resultMessage:Object, actualResult:Object):void
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
|