Guida di riferimento di ActionScript® 3.0 per la piattaforma Adobe® Flash®
Home  |  Nascondi elenco pacchetti e classi |  Pacchetti  |  Classi  |  Novità  |  Indice  |  Appendici  |  Perché in inglese?
Filtri: Recupero dati dal server...
Recupero dati dal server...
com.adobe.mosaic.mxml 

ServerSession  - AS3 ADEP Composite Application

Pacchettocom.adobe.mosaic.mxml
Classepublic class ServerSession
EreditarietàServerSession Inheritance FrameworkInitializer
Implementa IMXMLObject

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versioni 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.

Elementi API correlati



Proprietà pubbliche
 ProprietàDefinito da
  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
[sola lettura] Returns the state of the underlying ISession
ServerSession
  url : String
The value of the fully qualified URL path to the Experience Server.
ServerSession
Metodi pubblici
 MetodoDefinito da
  
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
Eventi
 Evento Riepilogo Definito da
  Dispatched when an OpenSessionEvent call fails.ServerSession
  Dispatched upon the first successful OpenSessionEvent from the remote server.ServerSession
Descrizione delle proprietà

autoConnect

proprietà
autoConnect:Boolean

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versioni 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.



Implementazione
    public function get autoConnect():Boolean
    public function set autoConnect(value:Boolean):void

Elementi API correlati

connect

cachePolicy

proprietà 
cachePolicy:ICachePolicy

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versioni runtime: AIR 2.6, Flash Player 10.2

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



Implementazione
    public function get cachePolicy():ICachePolicy
    public function set cachePolicy(value:ICachePolicy):void

Elementi API correlati

id

proprietà 
id:String

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versioni runtime: AIR 2.6, Flash Player 10.2

Returns the id of the component



Implementazione
    public function get id():String
    public function set id(value:String):void

securityManager

proprietà 
securityManager:ISecurityManager

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versioni runtime: AIR 2.6, Flash Player 10.2

Returns the ISecurityManager



Implementazione
    public function get securityManager():ISecurityManager
    public function set securityManager(value:ISecurityManager):void

Elementi API correlati

state

proprietà 
state:String  [sola lettura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versioni runtime: AIR 2.6, Flash Player 10.2

Returns the state of the underlying ISession



Implementazione
    public function get state():String

Elementi API correlati

url

proprietà 
url:String

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versioni runtime: AIR 2.6, Flash Player 10.2

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



Implementazione
    public function get url():String
    public function set url(value:String):void
Descrizione della funzione di costruzione

ServerSession

()Funzione di costruzione
public function ServerSession()

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versioni runtime: AIR 2.6, Flash Player 10.2

Constructor.

Descrizione dei metodi

connect

()metodo
public function connect():void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versioni 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

()metodo 
public function getSessionManager():ISessionManager

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versioni runtime: AIR 2.6, Flash Player 10.2

Returns the ISessionManager instance associated to the runtime

Restituisce
ISessionManager — ISessionManager

Elementi API correlati

initialized

()metodo 
public function initialized(document:Object, id:String):void

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versioni 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.

Parametri

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

Descrizione degli eventi

openSessionEventFailure

Evento
Tipo di oggetto evento: com.adobe.mosaic.om.events.OpenSessionEvent
proprietà OpenSessionEvent.type = com.adobe.mosaic.om.events.OpenSessionEvent.FAILURE

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versioni 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 di oggetto evento: com.adobe.mosaic.om.events.OpenSessionEvent
proprietà OpenSessionEvent.type = com.adobe.mosaic.om.events.OpenSessionEvent.SUCCESS

Versione linguaggio: ActionScript 3.0
Versione prodotto: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Versioni 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 ]Perché in inglese?
Il contenuto della Guida di riferimento di ActionScript 3.0 appare in inglese

Non tutte le parti della Guida di riferimento di ActionScript 3.0 sono tradotte in tutte le lingue. Quando un elemento del linguaggio non è tradotto, viene riportato in inglese. Ad esempio, la classe ga.controls.HelpBox non è tradotta in nessuna lingua. Pertanto, nella versione italiana della guida di riferimento, la descrizione della classe ga.controls.HelpBox è riportata in inglese.