Packageorg.bigbluebutton.modules.presentation.model.business
Classpublic class NetConnectionDelegate

The NetConnectionDelegate is a class that connects and listens to the server on behalf of the presentation module



Public Properties
 PropertyDefined by
  connUri : String
[read-only]
NetConnectionDelegate
Public Methods
 MethodDefined by
  
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
Protected Methods
 MethodDefined 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
Public Constants
 ConstantDefined by
  ID : String = "Presentation.NetConnectionDelegate"
[static]
NetConnectionDelegate
Property detail
connUriproperty
connUri:String  [read-only]

Implementation
    public function get connUri():String
Constructor detail
NetConnectionDelegate()constructor
public function NetConnectionDelegate(delegate:PresentationDelegate)

The default constructor

Parameters
delegate:PresentationDelegate — - a PresentationDelegate class
Method detail
connect()method
public function connect(host:String, room:String):void

Connects to a server

Parameters
host: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)

Parameters
event:Object
handleResult()method 
public function handleResult(event:Object):void

Handles a result received from the server

Parameters
event:Object
netASyncError()method 
protected function netASyncError(event:AsyncErrorEvent):void

Method is called whe a NetAsyncError is received

Parameters
event:AsyncErrorEvent — - a NetAsyncEvent
netIOError()method 
protected function netIOError(event:IOErrorEvent):void

Method is called when a NetIOError is received

Parameters
event:IOErrorEvent — - a NetIOError event
netSecurityError()method 
protected function netSecurityError(event:SecurityErrorEvent):void

Method is called when a NetSecurityError is received

Parameters
event:SecurityErrorEvent — - a NetSecurityError event
netStatus()method 
protected function netStatus(event:NetStatusEvent):void

Method called when a NetStatusEvent is generated by the connection

Parameters
event:NetStatusEvent
setNetConnection()method 
public function setNetConnection(nc:NetConnection):voidParameters
nc:NetConnection
Constant detail
IDconstant
public static const ID:String = "Presentation.NetConnectionDelegate"