The SFSObject class is used by SmartFoxServer in client-server data transfer.Namespace: Sfs2X.Entities.Data
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 126.96.36.199 (1.7.3)
public class SFSObject : ISFSObject
This class can be thought of as a specialized Dictionary/Map object that can contain any type of data. The advantage of using the SFSObject class (for example when sending an ExtensionRequest request) is that you can fine tune the way your data is transmitted over the network. For instance, a number like 100 can be transmitted as a normal integer (which takes 32 bits), but also a short (16 bit) or even a byte (8 bit). SFSObject supports many primitive data types and related arrays of primitives (see the SFSDataType class). It also allows to serialize class instances and rebuild them on the other side (client or server). Check the SmartFoxServer 2X documentation for more informations on this advanced topic.