bigbluebutton-Github/bigbluebutton-client/src/PresentationModule.mxml
Richard Alam e1a9c53c01 move into trunk to use as development
git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@664 af16638f-c34d-0410-8cfa-b39d5352b314
2008-11-05 14:52:33 +00:00

62 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml"
implements="org.bigbluebutton.common.IBigBlueButtonModule"
creationComplete="onCreationComplete()">
<mx:Script>
<![CDATA[
import org.bigbluebutton.modules.presentation.PresentationFacade;
import org.bigbluebutton.common.messaging.Router;
private var _router:Router;
private var _moduleId:String = "PresentationModule";
private var _moduleName:String = "Presentation Module";
private var _attributes:Object;
private function onCreationComplete():void {
trace("PresentationModule Initialized");
}
public function acceptRouter(router:Router):void{
_router = router;
}
public function get router():Router{
return _router;
}
public function get moduleId():String {
return _moduleId;
}
public function get moduleName():String {
return _moduleName;
}
public function get uri():String {
return _attributes.uri + "/" + _attributes.room;
}
public function get username():String {
return _attributes.username;
}
public function get host():String {
return _attributes.host;
}
public function get room():String {
return _attributes.room;
}
public function start(attributes:Object):void {
_attributes = attributes;
PresentationFacade.getInstance().startup(this);
}
public function stop():void {
PresentationFacade.getInstance().stop(this);
}
]]>
</mx:Script>
</mx:Module>