패키지 | com.adobe.mosaic.om.interfaces |
인터페이스 | public interface ISessionManager extends IManager |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
런타임 버전: | 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.
공용 속성
속성 | 정의 주체 | ||
---|---|---|---|
name : String [읽기 전용]
Returns the name associated with the manager object. | IManager | ||
sessions : Array [읽기 전용]
Returns an Array of type ISession representing all opened sessions. | ISessionManager |
공용 메서드
메서드 | 정의 주체 | ||
---|---|---|---|
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 | 속성 |
메서드 세부 정보
closeAllSessions | () | 메서드 |
public function closeAllSessions(onSuccess:Function = null, onFailure:Function = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
런타임 버전: | AIR 2.6, Flash Player 10.2 |
Initiates the destruction of all open ISession instances.
매개 변수
onSuccess:Function (default = null ) — The onSuccess function.
| |
onFailure:Function (default = null ) — The onFailure function.
|
closeSession | () | 메서드 |
public function closeSession(session:ISession, onSuccess:Function = null, onFailure:Function = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
런타임 버전: | 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".
매개 변수
session:ISession — The ISession instance to close and destroy.
| |
onSuccess:Function (default = null ) — The onSuccess function.
| |
onFailure:Function (default = null ) — The onFailure function.
|
openSession | () | 메서드 |
public function openSession(config:ISessionConfiguration, onSuccess:Function = null, onFailure:Function = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
런타임 버전: | 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.
매개 변수
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, 03:17 PM Z