The SFSRoom object represents a SmartFoxServer Room entity on the client.

Namespace: Sfs2X.Entities
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
public class SFSRoom : Room

Remarks

The SmartFoxServer 2X client API are not aware of all the Rooms which exist on the server side, but only of those that are joined by the user and those in the Room Groups that have been subscribed. Subscribing to one or more Groups allows the client to listen to Room events in specific "areas" of the Zone, without having to retrieve and keep synchronized the details of all available Rooms, thus reducing the traffic between the client and the server considerably.

The list of available Rooms is created after a successful login and it is kept updated continuously by the server.

Inheritance Hierarchy

System..::..Object
  Sfs2X.Entities..::..SFSRoom
    Sfs2X.Entities..::..MMORoom

See Also