Pakiet | com.adobe.mosaic.om.interfaces |
Interfejs | public interface ISessionManager extends IManager |
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 |
ISessionManager
interface represents an instance of a server connection pool.
Use this interface to create and destroy sessions. The implementation of this object will be
responsible for connecting, building, and tearing-down server sessions.
Właściwość | Zdefiniowane przez | ||
---|---|---|---|
name : String [tylko do odczytu]
Returns the name associated with the manager object. | IManager | ||
sessions : Array [tylko do odczytu]
Returns an Array of type ISession representing all opened sessions. | ISessionManager |
Metoda | Zdefiniowane przez | ||
---|---|---|---|
Initiates the destruction of all open ISession instances. | ISessionManager | ||
Initiates the destruction of an ISession instance. | ISessionManager | ||
openSession(config:ISessionConfiguration, onSuccess:Function = null, onFailure:Function = null):void
Creates an ISession instance based on the supplied configuration information. | ISessionManager |
sessions | właściwość |
sessions:Array
[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 an Array of type ISession representing all opened sessions.
Implementacja
public function get sessions():Array
closeAllSessions | () | metoda |
public function closeAllSessions(onSuccess:Function = null, onFailure:Function = null):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 |
Initiates the destruction of all open ISession instances.
Parametry
onSuccess:Function (default = null ) — The onSuccess function.
| |
onFailure:Function (default = null ) — The onFailure function.
|
closeSession | () | metoda |
public function closeSession(session:ISession, onSuccess:Function = null, onFailure:Function = null):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 |
Initiates the destruction of an ISession instance. The ISession destruction generates a SessionEvent of type "sessionClosing" which is cancelable by any registered listener. If no listener invokes the "preventDefault()" method, then the session will be destroyed followed by a SessionEvent of type "sessionClosed".
Parametry
session:ISession — The ISession instance to close and destroy.
| |
onSuccess:Function (default = null ) — The onSuccess function.
| |
onFailure:Function (default = null ) — The onFailure function.
|
openSession | () | metoda |
public function openSession(config:ISessionConfiguration, onSuccess:Function = null, onFailure:Function = null):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 |
Creates an ISession instance based on the supplied configuration information. The Session is ready to be utilized for requests to the associated server, although certain communication faults may occur.
Parametry
config:ISessionConfiguration — The ISessionConfiguration to identify the session instance.
| |
onSuccess:Function (default = null ) — The onSuccess function.
| |
onFailure:Function (default = null ) — The onFailure function.
|
Tue Jun 12 2018, 12:06 PM Z