Package | org.bigbluebutton.modules.presentation.model.business |
Class | public class NetConnectionDelegate |
Property | Defined by | ||
---|---|---|---|
connUri : String [read-only]
| NetConnectionDelegate |
Method | Defined by | ||
---|---|---|---|
NetConnectionDelegate(delegate:PresentationDelegate)
The default constructor
| NetConnectionDelegate | ||
connect(host:String, room:String):void
Connects to a server
| NetConnectionDelegate | ||
disconnect():void
Disconnects from the server
| NetConnectionDelegate | ||
getConnection():NetConnection
| NetConnectionDelegate | ||
handleFault(event:Object):void
Handles a Fault (server could not respond properly)
| NetConnectionDelegate | ||
handleResult(event:Object):void
Handles a result received from the server
| NetConnectionDelegate | ||
setNetConnection(nc:NetConnection):void
| NetConnectionDelegate |
Method | Defined by | ||
---|---|---|---|
netASyncError(event:AsyncErrorEvent):void
Method is called whe a NetAsyncError is received
| NetConnectionDelegate | ||
netIOError(event:IOErrorEvent):void
Method is called when a NetIOError is received
| NetConnectionDelegate | ||
netSecurityError(event:SecurityErrorEvent):void
Method is called when a NetSecurityError is received
| NetConnectionDelegate | ||
netStatus(event:NetStatusEvent):void
Method called when a NetStatusEvent is generated by the connection
| NetConnectionDelegate |
Constant | Defined by | ||
---|---|---|---|
ID : String = "Presentation.NetConnectionDelegate" [static]
| NetConnectionDelegate |
connUri | property |
connUri:String
[read-only]Implementation
public function get connUri():String
NetConnectionDelegate | () | constructor |
public function NetConnectionDelegate(delegate:PresentationDelegate)
The default constructor
Parametersdelegate:PresentationDelegate — - a PresentationDelegate class
|
connect | () | method |
public function connect(host:String, room:String):void
Connects to a server
Parametershost:String — - the URL of the server
|
|
room:String — - the specific room we want to connect to
|
disconnect | () | method |
public function disconnect():void
Disconnects from the server
getConnection | () | method |
public function getConnection():NetConnection
Returns
NetConnection — - The server connection object
|
handleFault | () | method |
public function handleFault(event:Object):void
Handles a Fault (server could not respond properly)
Parametersevent:Object |
handleResult | () | method |
public function handleResult(event:Object):void
Handles a result received from the server
Parametersevent:Object |
netASyncError | () | method |
protected function netASyncError(event:AsyncErrorEvent):void
Method is called whe a NetAsyncError is received
Parametersevent:AsyncErrorEvent — - a NetAsyncEvent
|
netIOError | () | method |
protected function netIOError(event:IOErrorEvent):void
Method is called when a NetIOError is received
Parametersevent:IOErrorEvent — - a NetIOError event
|
netSecurityError | () | method |
protected function netSecurityError(event:SecurityErrorEvent):void
Method is called when a NetSecurityError is received
Parametersevent:SecurityErrorEvent — - a NetSecurityError event
|
netStatus | () | method |
protected function netStatus(event:NetStatusEvent):void
Method called when a NetStatusEvent is generated by the connection
Parametersevent:NetStatusEvent |
setNetConnection | () | method |
public function setNetConnection(nc:NetConnection):void
Parameters
nc:NetConnection |
ID | constant |
public static const ID:String = "Presentation.NetConnectionDelegate"