Referência do ActionScript® 3.0 para Adobe® Flash® Platform
Início  |  Ocultar listas de Pacotes e Classes |  Pacotes  |  Classes  |  Novidades  |  Índice  |  Apêndices  |  Por que inglês?
Filtros: Recuperando dados do servidor...
Recuperando dados do servidor...
mx.netmon 

NetworkMonitor  - AS3 Flex

Pacotemx.netmon
Classepublic class NetworkMonitor
HerançaNetworkMonitor Inheritance Object

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

NetworkMonitor is a stub used by the framework and enterprise service classes to send information to the Flash Builder Network Monitor feature. The NetworkMonitor declares a number of Impl functions which are to be filled in by a mix-in class provided by Flash Builder. If those functions are not assigned the stub will do nothing, will or return false or null as appropriate. We don't use a singleton or an instance object at the moment to simplify the code that calls the monitor.



Propriedades públicas
 PropriedadeDefinido por
  adjustNetConnectionURLImpl : Function
[estático] To be assigned by mix-in.
NetworkMonitor
  adjustURLRequestImpl : Function
[estático] To be assigned by mix-in.
NetworkMonitor
 Inheritedconstructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto.
Object
  isMonitoringImpl : Function
[estático] To be assigned by mix-in.
NetworkMonitor
  monitorEventImpl : Function
[estático] To be assigned by mix-in.
NetworkMonitor
  monitorFaultImpl : Function
[estático] To be assigned by mix-in.
NetworkMonitor
  monitorInvocationImpl : Function
[estático] To be assigned by mix-in.
NetworkMonitor
  monitorResultImpl : Function
[estático] To be assigned by mix-in.
NetworkMonitor
Métodos públicos
 MétodoDefinido por
  
[estático] Adjust the URL for NetConnectionChannel and HTTPChannel Requests so that it goes through the monitor.
NetworkMonitor
  
adjustURLRequest(urlRequest:URLRequest, rootURL:String, correlationID:String):void
[estático] Adjust the URLRequest so that it goes through the monitor.
NetworkMonitor
 Inherited
Indica se um objeto tem uma propriedade especificada definida.
Object
  
[estático] Returns true if the monitor is linked and monitoring.
NetworkMonitor
 Inherited
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro.
Object
  
monitorEvent(event:Event, correlationID:String):void
[estático] Tell the monitor that an event occurred.
NetworkMonitor
  
monitorFault(faultMessage:Object, actualFault:Object):void
[estático] Tell the monitor that a fault occurred.
NetworkMonitor
  
monitorInvocation(id:String, invocationMessage:Object, messageAgent:Object):void
[estático] Tell the monitor that an invocation is occuring.
NetworkMonitor
  
monitorResult(resultMessage:Object, actualResult:Object):void
[estático] Tell the monitor that a result was returned.
NetworkMonitor
 Inherited
Indica se a propriedade especificada existe e é enumerável.
Object
 Inherited
Define a disponibilidade de uma propriedade dinâmica para operações de repetição.
Object
 Inherited
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade.
Object
 Inherited
Retorna a representação de string do objeto especificado.
Object
 Inherited
Retorna o valor primitivo do objeto especificado.
Object
Detalhes da propriedade

adjustNetConnectionURLImpl

propriedade
public static var adjustNetConnectionURLImpl:Function

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

To be assigned by mix-in.

adjustURLRequestImpl

propriedade 
public static var adjustURLRequestImpl:Function

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

To be assigned by mix-in.

isMonitoringImpl

propriedade 
public static var isMonitoringImpl:Function

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

To be assigned by mix-in.

monitorEventImpl

propriedade 
public static var monitorEventImpl:Function

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

To be assigned by mix-in.

monitorFaultImpl

propriedade 
public static var monitorFaultImpl:Function

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

To be assigned by mix-in.

monitorInvocationImpl

propriedade 
public static var monitorInvocationImpl:Function

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

To be assigned by mix-in.

monitorResultImpl

propriedade 
public static var monitorResultImpl:Function

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

To be assigned by mix-in.

Detalhes do método

adjustNetConnectionURL

()método
public static function adjustNetConnectionURL(rootUrl:String, url:String):String

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: 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

Retorna
String

adjustURLRequest

()método 
public static function adjustURLRequest(urlRequest:URLRequest, rootURL:String, correlationID:String):void

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: 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 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)

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 
public static function isMonitoring():Boolean

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Returns true if the monitor is linked and monitoring.

Retorna
Boolean

monitorEvent

()método 
public static function monitorEvent(event:Event, correlationID:String):void

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: 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

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: 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

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: 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

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: 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





[ X ]Por que inglês?
O conteúdo na Referência do ActionScript 3.0 aparece em inglês

Nem todas as partes da Referência do ActionScript 3.0 estão traduzidas em todos os idiomas. Quando um elemento de um idioma não está traduzido, ele é exibido em inglês. Por exemplo, a classe ga.controls.HelpBox não está traduzida em nenhum idioma. Por isso, na versão da referência em português do Brasil, a classe ga.controls.HelpBox é exibida em inglês.