Pakiet | com.adobe.mosaic.mxml |
Klasa | public class ServerSession |
Dziedziczenie | ServerSession FrameworkInitializer |
Implementuje | IMXMLObject |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
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.
Powiązane elementy interfejsu API
com.adobe.mosaic.mxml.Application
com.adobe.mosaic.mxml.Catalog
com.adobe.mosaic.mxml.Shell
com.adobe.mosaic.mxml.Tile
com.adobe.mosaic.mxml.Service
Właściwość | Zdefiniowane przez | ||
---|---|---|---|
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 [tylko do odczytu]
Returns the state of the underlying ISession
| ServerSession | ||
url : String
The value of the fully qualified URL path to the Experience Server. | ServerSession |
Metoda | Zdefiniowane przez | ||
---|---|---|---|
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 |
Zdarzenie | Podsumowanie | Zdefiniowane przez | ||
---|---|---|---|---|
Dispatched when an OpenSessionEvent call fails. | ServerSession | |||
Dispatched upon the first successful OpenSessionEvent from the remote server. | ServerSession |
autoConnect | właściwość |
autoConnect:Boolean
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Wersje środowiska wykonawczego: | 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.
Implementacja
public function get autoConnect():Boolean
public function set autoConnect(value:Boolean):void
Powiązane elementy interfejsu API
cachePolicy | właściwość |
cachePolicy:ICachePolicy
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
Returns the value of cachePolicy (if one is set). Default is CachePolicy.NONE.
Implementacja
public function get cachePolicy():ICachePolicy
public function set cachePolicy(value:ICachePolicy):void
Powiązane elementy interfejsu API
id | właściwość |
id:String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
Returns the id of the component
Implementacja
public function get id():String
public function set id(value:String):void
securityManager | właściwość |
securityManager:ISecurityManager
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
Returns the ISecurityManager
Implementacja
public function get securityManager():ISecurityManager
public function set securityManager(value:ISecurityManager):void
Powiązane elementy interfejsu API
state | właściwość |
state:String
[tylko do odczytu] Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
Returns the state of the underlying ISession
Implementacja
public function get state():String
Powiązane elementy interfejsu API
url | właściwość |
url:String
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
The value of the fully qualified URL path to the Experience Server.
Implementacja
public function get url():String
public function set url(value:String):void
ServerSession | () | Konstruktor |
public function ServerSession()
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
Constructor.
connect | () | metoda |
public function connect():void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Wersje środowiska wykonawczego: | 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 | () | metoda |
public function getSessionManager():ISessionManager
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
Returns the ISessionManager instance associated to the runtime
ZwracaISessionManager — ISessionManager
|
Powiązane elementy interfejsu API
initialized | () | metoda |
public function initialized(document:Object, id:String):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Wersje środowiska wykonawczego: | 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.
Parametry
document:Object — The document
| |
id:String — The mxml id
|
openSessionEventFailure | Zdarzenie |
com.adobe.mosaic.om.events.OpenSessionEvent
właściwość OpenSessionEvent.type =
com.adobe.mosaic.om.events.OpenSessionEvent.FAILURE
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Wersje środowiska wykonawczego: | AIR 2.6, Flash Player 10.2 |
Dispatched when an OpenSessionEvent call fails.
This type is sent when handling failed in opening an ISessionopenSessionEventSuccess | Zdarzenie |
com.adobe.mosaic.om.events.OpenSessionEvent
właściwość OpenSessionEvent.type =
com.adobe.mosaic.om.events.OpenSessionEvent.SUCCESS
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Wersje środowiska wykonawczego: | 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 ISessionTue Jun 12 2018, 12:06 PM Z