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...
com.adobe.mosaic.mxml 

ServerSession  - AS3 ADEP Composite Application

Pacotecom.adobe.mosaic.mxml
Classepublic class ServerSession
HerançaServerSession Inheritance FrameworkInitializer
Implementações IMXMLObject

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versões de runtime: AIR 2.6, Flash Player 10.2

The ServerSession repesents a remote server's location and an ISession. It's purpose is use the ISessionManager in the runtime to successfully connect the to server and create a new ISession so that other composite application MXML components may have a pathway to the Experience Server. ServerSession encapsulates a session with a specific server for use by other components. It does NOT provide authentication functionality. Authentication handling functionality is set upon this component on the securityManager property and in the form of an ISecurityManager.

Elementos da API relacionados



Propriedades públicas
 PropriedadeDefinido por
  autoConnect : Boolean
Returns the value of autoConnect.
ServerSession
  cachePolicy : ICachePolicy
Returns the value of cachePolicy (if one is set).
ServerSession
  id : String
Returns the id of the component
ServerSession
  securityManager : ISecurityManager
Returns the ISecurityManager
ServerSession
  state : String
[somente leitura] Returns the state of the underlying ISession
ServerSession
  url : String
The value of the fully qualified URL path to the Experience Server.
ServerSession
Métodos públicos
 MétodoDefinido por
  
Constructor.
ServerSession
  
This will begin an Experiene Server connection sequence, once the framework and runtime are ready, by first acquiring the ISessionManager, and subsequently connecting an ISession.
ServerSession
  
Returns the ISessionManager instance associated to the runtime
ServerSession
  
Implementation of IMXMLObject initialized.
ServerSession
Eventos
 Evento Resumo Definido por
  Dispatched when an OpenSessionEvent call fails.ServerSession
  Dispatched upon the first successful OpenSessionEvent from the remote server.ServerSession
Detalhes da propriedade

autoConnect

propriedade
autoConnect:Boolean

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versões de runtime: AIR 2.6, Flash Player 10.2

Returns the value of autoConnect. Default is true. autoConnect only affects MXML usage by automatically connecting to the server once all properties are set. url and securityManager properties must be set before connection can succeed. For ActionScript usage, call connect() once url and securityManager properties are set.



Implementação
    public function get autoConnect():Boolean
    public function set autoConnect(value:Boolean):void

Elementos da API relacionados

connect

cachePolicy

propriedade 
cachePolicy:ICachePolicy

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versões de runtime: AIR 2.6, Flash Player 10.2

Returns the value of cachePolicy (if one is set). Default is CachePolicy.NONE.



Implementação
    public function get cachePolicy():ICachePolicy
    public function set cachePolicy(value:ICachePolicy):void

Elementos da API relacionados

id

propriedade 
id:String

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versões de runtime: AIR 2.6, Flash Player 10.2

Returns the id of the component



Implementação
    public function get id():String
    public function set id(value:String):void

securityManager

propriedade 
securityManager:ISecurityManager

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versões de runtime: AIR 2.6, Flash Player 10.2

Returns the ISecurityManager



Implementação
    public function get securityManager():ISecurityManager
    public function set securityManager(value:ISecurityManager):void

Elementos da API relacionados

state

propriedade 
state:String  [somente leitura]

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versões de runtime: AIR 2.6, Flash Player 10.2

Returns the state of the underlying ISession



Implementação
    public function get state():String

Elementos da API relacionados

url

propriedade 
url:String

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versões de runtime: AIR 2.6, Flash Player 10.2

The value of the fully qualified URL path to the Experience Server.



Implementação
    public function get url():String
    public function set url(value:String):void
Detalhes do construtor

ServerSession

()Construtor
public function ServerSession()

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versões de runtime: AIR 2.6, Flash Player 10.2

Constructor.

Detalhes do método

connect

()método
public function connect():void

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versões de runtime: AIR 2.6, Flash Player 10.2

This will begin an Experiene Server connection sequence, once the framework and runtime are ready, by first acquiring the ISessionManager, and subsequently connecting an ISession. This method will be called automatically from "initialized" if the autoConnect property is set to true and the url and security manager values have been set.

getSessionManager

()método 
public function getSessionManager():ISessionManager

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versões de runtime: AIR 2.6, Flash Player 10.2

Returns the ISessionManager instance associated to the runtime

Retorna
ISessionManager — ISessionManager

Elementos da API relacionados

initialized

()método 
public function initialized(document:Object, id:String):void

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versões de runtime: AIR 2.6, Flash Player 10.2

Implementation of IMXMLObject initialized. If autoConnect is set to true and the url and security manager values have been set, the connect method will be called here.

Parâmetros

document:Object — The document
 
id:String — The mxml id

Detalhe do evento

openSessionEventFailure

Evento
Tipo do objeto de evento: com.adobe.mosaic.om.events.OpenSessionEvent
propriedade OpenSessionEvent.type = com.adobe.mosaic.om.events.OpenSessionEvent.FAILURE

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versões de runtime: AIR 2.6, Flash Player 10.2

Dispatched when an OpenSessionEvent call fails.

This type is sent when handling failed in opening an ISession

openSessionEventSuccess

Evento  
Tipo do objeto de evento: com.adobe.mosaic.om.events.OpenSessionEvent
propriedade OpenSessionEvent.type = com.adobe.mosaic.om.events.OpenSessionEvent.SUCCESS

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versões de runtime: AIR 2.6, Flash Player 10.2

Dispatched upon the first successful OpenSessionEvent from the remote server.

This type is sent when handling succeeded in opening an ISession




[ 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.