Packageorg.bigbluebutton.modules.voiceconference.model.business
Classpublic class NetConnectionDelegate
InheritanceNetConnectionDelegate Inheritance org.puremvc.as3.multicore.patterns.proxy.Proxy
Implementsorg.puremvc.as3.multicore.interfaces.IProxy

This is the NetConnectionDelegate which connects to the server

This class extends the Proxy Class of the PureMVC framework



Public Methods
 MethodDefined by
  
NetConnectionDelegate(meetmeRoomURI:String)
The Default constructor
NetConnectionDelegate
  
close():void
Closes the connection to the server
NetConnectionDelegate
  
connect(nc:NetConnection):void
Attempts connect to the server
NetConnectionDelegate
  
ejectUser(userId:Number):void
Ejects a particular user
NetConnectionDelegate
  
getConnection():NetConnection
NetConnectionDelegate
  
getUri():String
NetConnectionDelegate
  
muteAllUsers(muteUsers:Boolean):void
Send a call to the server to mute all users
NetConnectionDelegate
  
muteUnmuteUser(userId:Number, muteUser:Boolean):void
Mute or Unmute a specific user
NetConnectionDelegate
  
setRoomNumber(room:String):*
Callback setID from server
NetConnectionDelegate
Protected Methods
 MethodDefined by
  
netASyncError(event:AsyncErrorEvent):void
This method gets called when an ASYNC_ERROR event is received from the server
NetConnectionDelegate
  
netIOError(event:IOErrorEvent):void
This method gets called when an IO_ERROR event is received from the server
NetConnectionDelegate
  
netSecurityError(event:SecurityErrorEvent):void
This method gets called when a NET_SECURITY_ERROR is received from the server
NetConnectionDelegate
  
netStatus(event:NetStatusEvent):void
This method gets called when a NET_STATUS event is received from the server
NetConnectionDelegate
Public Constants
 ConstantDefined by
  NAME : String = "NetConnectionDelegate"
[static]
NetConnectionDelegate
Constructor detail
NetConnectionDelegate()constructor
public function NetConnectionDelegate(meetmeRoomURI:String)

The Default constructor

Parameters
meetmeRoomURI:String — - the MeetMeRoom this class uses
Method detail
close()method
public function close():void

Closes the connection to the server

connect()method 
public function connect(nc:NetConnection):void

Attempts connect to the server

Parameters
nc:NetConnection
ejectUser()method 
public function ejectUser(userId:Number):void

Ejects a particular user

Parameters
userId:Number — - the user to eject
getConnection()method 
public function getConnection():NetConnection

Returns
NetConnection — the NetConnection of this class
getUri()method 
public function getUri():String

Returns
String — the URI of the MeetMeRoom
muteAllUsers()method 
public function muteAllUsers(muteUsers:Boolean):void

Send a call to the server to mute all users

Parameters
muteUsers:Boolean
muteUnmuteUser()method 
public function muteUnmuteUser(userId:Number, muteUser:Boolean):void

Mute or Unmute a specific user

Parameters
userId:Number — - the user to mute/unmute
 
muteUser:Boolean — - mute/unmute?
netASyncError()method 
protected function netASyncError(event:AsyncErrorEvent):void

This method gets called when an ASYNC_ERROR event is received from the server

Parameters
event:AsyncErrorEvent
netIOError()method 
protected function netIOError(event:IOErrorEvent):void

This method gets called when an IO_ERROR event is received from the server

Parameters
event:IOErrorEvent
netSecurityError()method 
protected function netSecurityError(event:SecurityErrorEvent):void

This method gets called when a NET_SECURITY_ERROR is received from the server

Parameters
event:SecurityErrorEvent
netStatus()method 
protected function netStatus(event:NetStatusEvent):void

This method gets called when a NET_STATUS event is received from the server

Parameters
event:NetStatusEvent
setRoomNumber()method 
public function setRoomNumber(room:String):*

Callback setID from server

Parameters
room:String

Returns
*
Constant detail
NAMEconstant
public static const NAME:String = "NetConnectionDelegate"