| Package | com.adobe.rtc.session.sessionClasses |
| Class | public class SessionContainerProxy |
| Inheritance | SessionContainerProxy flash.events.EventDispatcher |
| Implements | IConnectSession |
UIComponent-based ISessionSubscribers have 3 places to choose from in order to find an appropriate IConnectSession :
connectSession value.
Example: a UIComponent-based ISessionSubscriber declares its _connectSession protected variable
(for use in its public connectSession getter) to default to a SessionContainerProxy
protected var _connectSession:IConnectSession = new SessionContainerProxy(this as UIComponent);
See also
| Property | Defined by | ||
|---|---|---|---|
| authenticator : AbstractAuthenticator
(Required) The authenticator through which login information is passed.
| SessionContainerProxy | ||
| fileManager : FileManager
[read-only]
The
FileManager class for the current session. | SessionContainerProxy | ||
| initialRoomSettings : RoomSettings
The initial room settings for the current room.
| SessionContainerProxy | ||
| isSynchronized : Boolean [read-only]
[Read-only] A variable that indicates whether or not the ConnectSession is fully synchronized with the service.
| SessionContainerProxy | ||
| roomManager : RoomManager
[read-only]
The
RoomManager class for the current session. | SessionContainerProxy | ||
| roomURL : String
[Required] The URL of the room to which to connect.
| SessionContainerProxy | ||
| streamManager : StreamManager
[read-only]
The
StreamManager class for the current session. | SessionContainerProxy | ||
| userManager : UserManager
[read-only]
The
UserManager class for the current session. | SessionContainerProxy | ||
| Method | Defined by | ||
|---|---|---|---|
|
SessionContainerProxy(p_target:UIComponent = null)
| SessionContainerProxy | ||
|
addEventListener(p_type:String, p_listener:Function, p_useCapture:Boolean = false, p_priority:int = 0, p_useWR:Boolean = false):void
| SessionContainerProxy | ||
|
login():void
Logs into the RTC service.
| SessionContainerProxy | ||
|
logout():void
Logs out and disconnects from the session.
| SessionContainerProxy | ||
|
removeEventListener(p_type:String, p_listener:Function, p_useCapture:Boolean = false):void
| SessionContainerProxy | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched when the session is closed before any children (in the case of ConnectSessionContainer) are removed. | SessionContainerProxy | |||
| Dispatched when there's an error on the server. | SessionContainerProxy | |||
The synchronizationChange is dispatched when:
| SessionContainerProxy | |||
| authenticator | property |
authenticator:AbstractAuthenticator [read-write](Required) The authenticator through which login information is passed.
Implementation public function get authenticator():AbstractAuthenticator
public function set authenticator(value:AbstractAuthenticator):void
| fileManager | property |
fileManager:FileManager [read-only]
The FileManager class for the current session.
public function get fileManager():FileManager
| initialRoomSettings | property |
initialRoomSettings:RoomSettings [read-write]The initial room settings for the current room. Note that this property only works the FIRST TIME the room receives a connection from an user with an owner role.
Implementation public function get initialRoomSettings():RoomSettings
public function set initialRoomSettings(value:RoomSettings):void
| isSynchronized | property |
isSynchronized:Boolean [read-only][Read-only] A variable that indicates whether or not the ConnectSession is fully synchronized with the service.
Implementation public function get isSynchronized():Boolean
| roomManager | property |
roomManager:RoomManager [read-only]
The RoomManager class for the current session.
public function get roomManager():RoomManager
| roomURL | property |
roomURL:String [read-write][Required] The URL of the room to which to connect.
Implementation public function get roomURL():String
public function set roomURL(value:String):void
| streamManager | property |
streamManager:StreamManager [read-only]
The StreamManager class for the current session.
public function get streamManager():StreamManager
| userManager | property |
userManager:UserManager [read-only]
The UserManager class for the current session.
public function get userManager():UserManager
| SessionContainerProxy | () | constructor |
public function SessionContainerProxy(p_target:UIComponent = null)Parameters
p_target:UIComponent (default = null) — The UIComponent which wants to locate its ConnectSessionContainer
|
| addEventListener | () | method |
public override function addEventListener(p_type:String, p_listener:Function, p_useCapture:Boolean = false, p_priority:int = 0, p_useWR:Boolean = false):voidParameters
p_type:String |
|
p_listener:Function |
|
p_useCapture:Boolean (default = false) |
|
p_priority:int (default = 0) |
|
p_useWR:Boolean (default = false) |
| login | () | method |
public function login():voidLogs into the RTC service. Calling login is required for using ConnectSession, as compared with ConnectSessionContainer, Which does so automatically.
| logout | () | method |
public function logout():voidLogs out and disconnects from the session.
| removeEventListener | () | method |
public override function removeEventListener(p_type:String, p_listener:Function, p_useCapture:Boolean = false):voidParameters
p_type:String |
|
p_listener:Function |
|
p_useCapture:Boolean (default = false) |
| close | event |
com.adobe.rtc.events.ConnectSessionEvent
Dispatched when the session is closed before any children (in the case of ConnectSessionContainer) are removed.
| error | event |
com.adobe.rtc.events.SessionEvent
Dispatched when there's an error on the server.
| synchronizationChange | event |
com.adobe.rtc.events.SessionEvent
The synchronizationChange is dispatched when:
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/labs/acrobatcom/com/adobe/rtc/session/sessionClasses/SessionContainerProxy.html