ActionScript® 3.0 Referenzhandbuch für die Adobe® Flash®-Plattform
Home  |  Liste der Pakete und Klassen ausblenden |  Pakete  |  Klassen  |  Neue Funktionen  |  Stichwortverzeichnis  |  Anhänge  |  Warum auf Englisch?
Filter: Daten werden vom Server abgerufen...
Daten werden vom Server abgerufen...
com.adobe.mosaic.om.interfaces 

ISessionManager  - AS3 ADEP Composite Application

Paketcom.adobe.mosaic.om.interfaces
Schnittstellepublic interface ISessionManager extends IManager

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Laufzeitversionen: AIR 2.6, Flash Player 10.2

The 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.



Öffentliche Eigenschaften
 EigenschaftDefiniert von
 Inheritedname : String
[schreibgeschützt] Returns the name associated with the manager object.
IManager
  sessions : Array
[schreibgeschützt] Returns an Array of type ISession representing all opened sessions.
ISessionManager
Öffentliche Methoden
 MethodeDefiniert von
  
closeAllSessions(onSuccess:Function = null, onFailure:Function = null):void
Initiates the destruction of all open ISession instances.
ISessionManager
  
closeSession(session:ISession, onSuccess:Function = null, onFailure:Function = null):void
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
Eigenschaftendetails

sessions

Eigenschaft
sessions:Array  [schreibgeschützt]

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Laufzeitversionen: AIR 2.6, Flash Player 10.2

Returns an Array of type ISession representing all opened sessions.



Implementierung
    public function get sessions():Array
Methodendetails

closeAllSessions

()Methode
public function closeAllSessions(onSuccess:Function = null, onFailure:Function = null):void

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Laufzeitversionen: AIR 2.6, Flash Player 10.2

Initiates the destruction of all open ISession instances.

Parameter

onSuccess:Function (default = null) — The onSuccess function.
 
onFailure:Function (default = null) — The onFailure function.

closeSession

()Methode 
public function closeSession(session:ISession, onSuccess:Function = null, onFailure:Function = null):void

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Laufzeitversionen: 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".

Parameter

session:ISession — The ISession instance to close and destroy.
 
onSuccess:Function (default = null) — The onSuccess function.
 
onFailure:Function (default = null) — The onFailure function.

openSession

()Methode 
public function openSession(config:ISessionConfiguration, onSuccess:Function = null, onFailure:Function = null):void

Sprachversion: ActionScript 3.0
Produktversion: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Laufzeitversionen: 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.

Parameter

config:ISessionConfiguration — The ISessionConfiguration to identify the session instance.
 
onSuccess:Function (default = null) — The onSuccess function.
 
onFailure:Function (default = null) — The onFailure function.





[ X ]Warum auf Englisch?
Inhalt des ActionScript 3.0-Referenzhandbuchs wird in englischer Sprache angezeigt

Nicht alle Teile des ActionScript 3.0-Referenzhandbuchs wurden in alle Sprachen übersetzt. Wenn der Text zu einem Sprachelement nicht übersetzt wurde, wird er auf Englisch angezeigt. Zum Beispiel wurden die Informationen zur ga.controls.HelpBox-Klasse nicht in andere Sprachen übersetzt. In der deutschen Version des Referenzhandbuchs erscheint der Abschnitt zur ga.controls.HelpBox-Klasse deshalb auf Englisch.