適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
com.adobe.mosaic.mxml 

ServerSession  - AS3 ADEP Composite Application

套件com.adobe.mosaic.mxml
類別public class ServerSession
繼承ServerSession Inheritance FrameworkInitializer
實作 IMXMLObject

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: 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.

相關 API 元素



公用屬性
 屬性定義自
  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
[唯讀] Returns the state of the underlying ISession
ServerSession
  url : String
The value of the fully qualified URL path to the Experience Server.
ServerSession
公用方法
 方法定義自
  
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
事件
 事件 摘要 定義自
  Dispatched when an OpenSessionEvent call fails.ServerSession
  Dispatched upon the first successful OpenSessionEvent from the remote server.ServerSession
屬性詳細資訊

autoConnect

屬性
autoConnect:Boolean

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: 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.



實作
    public function get autoConnect():Boolean
    public function set autoConnect(value:Boolean):void

相關 API 元素

connect

cachePolicy

屬性 
cachePolicy:ICachePolicy

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

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



實作
    public function get cachePolicy():ICachePolicy
    public function set cachePolicy(value:ICachePolicy):void

相關 API 元素

id

屬性 
id:String

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

Returns the id of the component



實作
    public function get id():String
    public function set id(value:String):void

securityManager

屬性 
securityManager:ISecurityManager

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

Returns the ISecurityManager



實作
    public function get securityManager():ISecurityManager
    public function set securityManager(value:ISecurityManager):void

相關 API 元素

state

屬性 
state:String  [唯讀]

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

Returns the state of the underlying ISession



實作
    public function get state():String

相關 API 元素

url

屬性 
url:String

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

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



實作
    public function get url():String
    public function set url(value:String):void
建構函式詳細資料

ServerSession

()建構函式
public function ServerSession()

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

Constructor.

方法詳細資訊

connect

()方法
public function connect():void

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: 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

()方法 
public function getSessionManager():ISessionManager

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: AIR 2.6, Flash Player 10.2

Returns the ISessionManager instance associated to the runtime

傳回值
ISessionManager — ISessionManager

相關 API 元素

initialized

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

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: 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.

參數

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

事件詳細資訊

openSessionEventFailure

事件
事件物件類型: com.adobe.mosaic.om.events.OpenSessionEvent
屬性 OpenSessionEvent.type = com.adobe.mosaic.om.events.OpenSessionEvent.FAILURE

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: 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

事件  
事件物件類型: com.adobe.mosaic.om.events.OpenSessionEvent
屬性 OpenSessionEvent.type = com.adobe.mosaic.om.events.OpenSessionEvent.SUCCESS

語言版本: ActionScript 3.0
產品版本: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
執行階段版本: 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 ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。