Paket | mx.messaging.channels |
Klass | public class NetConnectionChannel |
Arv | NetConnectionChannel PollingChannel Channel EventDispatcher Object |
Underklasser | AMFChannel, RTMPChannel |
Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Publika egenskaper
Egenskap | Definieras med | ||
---|---|---|---|
authenticated : Boolean [skrivskyddad]
Indicates if this channel is authenticated. | Channel | ||
channelSets : Array [skrivskyddad]
Provides access to the ChannelSets connected to the Channel. | Channel | ||
connected : Boolean [skrivskyddad]
Indicates whether this channel has established a connection to the
remote destination. | Channel | ||
connectTimeout : int
Provides access to the connect timeout in seconds for the channel. | Channel | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
endpoint : String [skrivskyddad]
Provides access to the endpoint for this channel. | Channel | ||
failoverURIs : Array
Provides access to the set of endpoint URIs that this channel can
attempt to failover to if the endpoint is clustered. | Channel | ||
id : String
Provides access to the id of this channel. | Channel | ||
netConnection : NetConnection [skrivskyddad]
Provides access to the associated NetConnection for this Channel. | NetConnectionChannel | ||
protocol : String [skrivskyddad]
Provides access to the protocol that the channel uses. | Channel | ||
reconnecting : Boolean [skrivskyddad]
Indicates whether this channel is in the process of reconnecting to an
alternate endpoint. | Channel | ||
recordMessageSizes : Boolean [skrivskyddad]
Channel property determines the level of performance information injection - whether
we inject message sizes or not. | Channel | ||
recordMessageTimes : Boolean [skrivskyddad]
Channel property determines the level of performance information injection - whether
we inject timestamps or not. | Channel | ||
requestTimeout : int
Provides access to the default request timeout in seconds for the
channel. | Channel | ||
uri : String
Provides access to the URI used to create the whole endpoint URI for this channel. | Channel |
Skyddade egenskaper
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
Creates a new NetConnectionChannel instance. | NetConnectionChannel | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | EventDispatcher | ||
Subclasses should override this method to apply any settings that may be
necessary for an individual channel. | Channel | ||
Connects the ChannelSet to the Channel. | Channel | ||
Disables polling based on the number of times enablePolling()
and disablePolling() have been invoked. | PollingChannel | ||
Disconnects the ChannelSet from the Channel. | Channel | ||
Skickar en händelse till händelseflödet. | EventDispatcher | ||
Enables polling based on the number of times enablePolling()
and disablePolling() have been invoked. | PollingChannel | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Sends a CommandMessage to the server to logout if the Channel is connected. | Channel | ||
Initiates a poll operation if there are consumers subscribed to this channel,
and polling is enabled for this channel. | PollingChannel | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | EventDispatcher | ||
[åsidosätt]
Sends the specified message to its target destination. | PollingChannel | ||
Sets the credentials to the specified value. | Channel | ||
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 | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
Skyddade metoder
Skyddade konstanter
Egenskapsdetaljer
netConnection | egenskap |
netConnection:NetConnection
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Provides access to the associated NetConnection for this Channel.
Implementering
public function get netConnection():NetConnection
Konstruktordetaljer
NetConnectionChannel | () | Konstruktor |
public function NetConnectionChannel(id:String = null, uri:String = null)
Språkversion: | ActionScript 3.0 |
Produktversioner: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Creates a new NetConnectionChannel instance.
The underlying NetConnection's objectEncoding
is set to ObjectEncoding.AMF3
by default. It can be
changed manually by accessing the channel's netConnection
property. The global NetConnection.defaultObjectEncoding
setting is not honored by this channel.
id:String (default = null ) — The id of this Channel.
| |
uri:String (default = null ) — The uri for this Channel.
|
Tue Jun 12 2018, 01:40 PM Z