Click or drag to resize

ConfigData Class

The ConfigData class stores the client configuration data loaded from an external XML file or passed directly to the deputy connect method.
Inheritance Hierarchy
SystemObject
  Sfs2X.UtilConfigData

Namespace:  Sfs2X.Util
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public class ConfigData

The ConfigData type exposes the following members.

Constructors
  NameDescription
Public methodConfigData
Top
Properties
  NameDescription
Public propertyBlueBox
Configuration parameters for the BlueBox connection. When a socket connection fails the BlueBox can help the client connect to the server via HTTP tunnel.
Public propertyDebug
Indicates whether the client-server messages debug should be enabled or not.
Public propertyHost
Specifies the IP address or host name of the SmartFoxServer 2X instance to connect to (TCP connection).
Public propertyHttpPort
Specifies the port for generic HTTP communication.
Public propertyHttpsPort
Specifies the port for HTTPS communication.
Public propertyPort
Specifies the TCP port of the SmartFoxServer 2X instance to connect to (TCP connection).
Public propertyTcpNoDelay
Indicates whether SmartFoxServer's TCP socket is using the Nagle algorithm or not.
Public propertyUdpHost
Specifies the IP address of the SmartFoxServer 2X instance to connect to (UDP connection).
Public propertyUdpPort
Specifies the UDP port of the SmartFoxServer 2X instance to connect to (UDP connection).
Public propertyZone
Specifies the Zone of the SmartFoxServer 2X instance to join.
Top
Remarks
The external configuration file is loaded by the SmartFox class when its SmartFox.LoadConfig() method is called. Otherwise it can be passed directly to one of the SmartFox.Connect(ConfigData) method overloads of the SmartFox class.
See Also