Using Communication Components > FCRoomList object

 

FCRoomList object

The FCRoomList API provides the client-side and server-side functionality for connecting your objects to the server and cleaning up. It also allows you to manipulate the rooms programmatically.

 
Method summary for the FCRoomList object

Method

Description

FCRoomList.connect

Sets up all the assets needed by the component (on the client side and the server side) and calls the setUsername method with the name that the server provides.

FCRoomList.setUsername

Sets the user name to display and pass to the server.

FCRoomList.close

Cleans up and disconnects the component.

FCRoomList.createRoom

Opens a Create Room dialog box and temporarily disables the Join, Create, and Delete buttons.

FCRoomList.deleteRoom

Calls the server that is requesting to delete the currently selected room.

FCRoomList.joinRoom

Launches a new browser window to open an instance of the selected room.