| Package | com.smartfoxserver.v2.util |
| Class | public class ConfigData |
| Inheritance | ConfigData Object |
See also
| Property | Defined By | ||
|---|---|---|---|
| blueBoxPollingRate : int = 750
Specifies the BlueBox polling speed. | ConfigData | ||
| debug : Boolean = false
Indicates whether the client-server messages debug should be enabled or not. | ConfigData | ||
| forceBlueBoxOverHttps : Boolean = false
Forces the BlueBox connection to use an HTTPS tunnel instead of standard HTTP. | ConfigData | ||
| host : String = 127.0.0.1
Specifies the IP address or host name of the SmartFoxServer 2X instance to connect to (TCP connection). | ConfigData | ||
| httpPort : int = 8080
Specifies the port for generic HTTP communication. | ConfigData | ||
| httpsPort : int = 8443
Specifies the port for HTTPS communication. | ConfigData | ||
| port : int = 9933
Specifies the TCP port of the SmartFoxServer 2X instance to connect to (TCP connection). | ConfigData | ||
| udpHost : String = 127.0.0.1
Specifies the IP address of the SmartFoxServer 2X instance to connect to (UDP connection). | ConfigData | ||
| udpPort : int = 9933
Specifies the UDP port of the SmartFoxServer 2X instance to connect to (UDP connection). | ConfigData | ||
| useBlueBox : Boolean = true
Indicates whether the SmartFoxServer's BlueBox should be enabled or not. | ConfigData | ||
| zone : String
Specifies the Zone of the SmartFoxServer 2X instance to join. | ConfigData | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new ConfigData instance. | ConfigData | ||
| blueBoxPollingRate | property |
public var blueBoxPollingRate:int = 750Specifies the BlueBox polling speed.
The default value is 750.
| debug | property |
public var debug:Boolean = falseIndicates whether the client-server messages debug should be enabled or not.
The default value is false.
| forceBlueBoxOverHttps | property |
public var forceBlueBoxOverHttps:Boolean = falseForces the BlueBox connection to use an HTTPS tunnel instead of standard HTTP.
IMPORTANT NOTE: this mode should be used exclusively if you're deploying your app to iOS devices, since Apple doesn't accept HTTP connections. All other platforms should always use standard HTTP because the protocol is already encrypted when cryptography is activated. In other words the BlueBox transmits an encrypted protocol over a standard HTTP tunnel, which is perfectly secure.
| host | property |
public var host:String = 127.0.0.1Specifies the IP address or host name of the SmartFoxServer 2X instance to connect to (TCP connection).
The default value is 127.0.0.1.
| httpPort | property |
public var httpPort:int = 8080Specifies the port for generic HTTP communication.
The default value is 8080.
| httpsPort | property |
public var httpsPort:int = 8443Specifies the port for HTTPS communication. For example this parameter is used during the initialization of an encrypted connection.
The default value is 8443.
| port | property |
public var port:int = 9933Specifies the TCP port of the SmartFoxServer 2X instance to connect to (TCP connection).
The default value is 9933.
| udpHost | property |
public var udpHost:String = 127.0.0.1Specifies the IP address of the SmartFoxServer 2X instance to connect to (UDP connection).
The default value is 127.0.0.1.
| udpPort | property |
public var udpPort:int = 9933Specifies the UDP port of the SmartFoxServer 2X instance to connect to (UDP connection).
The default value is 9933.
| useBlueBox | property |
public var useBlueBox:Boolean = trueIndicates whether the SmartFoxServer's BlueBox should be enabled or not.
The default value is true.
| zone | property |
public var zone:StringSpecifies the Zone of the SmartFoxServer 2X instance to join.
The default value is null.
| ConfigData | () | Constructor |
public function ConfigData()Creates a new ConfigData instance.