Packagecom.smartfoxserver.v2.entities.data
Classpublic class SFSDataType
InheritanceSFSDataType Inheritance Object

The SFSDataType class contains the costants defining the data types supported by SFSObject and SFSArray classes.

See also

SFSObject
SFSArray


Public Constants
 ConstantDefined By
  BOOL : int = 1
[static] A Boolean value.
SFSDataType
  BOOL_ARRAY : int = 9
[static] An array of Boolean values.
SFSDataType
  BYTE : int = 2
[static] A byte (8 bit) value.
SFSDataType
  BYTE_ARRAY : int = 10
[static] An array of byte values.
SFSDataType
  CLASS : int = 19
[static] A custom class.
SFSDataType
  DOUBLE : int = 7
[static] A double precision number (64 bit) value.
SFSDataType
  DOUBLE_ARRAY : int = 15
[static] An array of double precision number values.
SFSDataType
  FLOAT : int = 6
[static] A floating point number (32 bit) value.
SFSDataType
  FLOAT_ARRAY : int = 14
[static] An array of floating point number values.
SFSDataType
  INT : int = 4
[static] An integer (32 bit) value.
SFSDataType
  INT_ARRAY : int = 12
[static] An array of integer values.
SFSDataType
  LONG : int = 5
[static] A long integer (64 bit) value.
SFSDataType
  LONG_ARRAY : int = 13
[static] An array of long integer values.
SFSDataType
  NULL : int = 0
[static] A null value.
SFSDataType
  SFS_ARRAY : int = 17
[static] A SFSArray object.
SFSDataType
  SFS_OBJECT : int = 18
[static] A SFSObject object.
SFSDataType
  SHORT : int = 3
[static] A short integer (16 bit) value.
SFSDataType
  SHORT_ARRAY : int = 11
[static] An array of short integer values.
SFSDataType
  TEXT : int = 20
[static] A UTF-8 encoded string value, with length up to 2 GBytes.
SFSDataType
  UTF_STRING : int = 8
[static] A UTF-8 encoded string value, with length up to 32 KBytes.
SFSDataType
  UTF_STRING_ARRAY : int = 16
[static] An array of string values.
SFSDataType
Constant Detail
BOOLConstant
public static const BOOL:int = 1

A Boolean value.

BOOL_ARRAYConstant 
public static const BOOL_ARRAY:int = 9

An array of Boolean values.

BYTEConstant 
public static const BYTE:int = 2

A byte (8 bit) value. In ActionScript 3 a byte is represented by the int type.

BYTE_ARRAYConstant 
public static const BYTE_ARRAY:int = 10

An array of byte values.

See also

CLASSConstant 
public static const CLASS:int = 19

A custom class.

DOUBLEConstant 
public static const DOUBLE:int = 7

A double precision number (64 bit) value. In ActionScript 3 a double precision number is represented by the Number type.

DOUBLE_ARRAYConstant 
public static const DOUBLE_ARRAY:int = 15

An array of double precision number values.

See also

FLOATConstant 
public static const FLOAT:int = 6

A floating point number (32 bit) value. In ActionScript 3 a floating point number is represented by the Number type.

FLOAT_ARRAYConstant 
public static const FLOAT_ARRAY:int = 14

An array of floating point number values.

See also

INTConstant 
public static const INT:int = 4

An integer (32 bit) value.

INT_ARRAYConstant 
public static const INT_ARRAY:int = 12

An array of integer values.

See also

LONGConstant 
public static const LONG:int = 5

A long integer (64 bit) value. In ActionScript 3 a long integer is represented by the Number type.

LONG_ARRAYConstant 
public static const LONG_ARRAY:int = 13

An array of long integer values.

See also

NULLConstant 
public static const NULL:int = 0

A null value.

SFS_ARRAYConstant 
public static const SFS_ARRAY:int = 17

A SFSArray object.

See also

SFS_OBJECTConstant 
public static const SFS_OBJECT:int = 18

A SFSObject object.

See also

SHORTConstant 
public static const SHORT:int = 3

A short integer (16 bit) value. In ActionScript 3 a short integer is represented by the int type.

SHORT_ARRAYConstant 
public static const SHORT_ARRAY:int = 11

An array of short integer values.

See also

TEXTConstant 
public static const TEXT:int = 20

A UTF-8 encoded string value, with length up to 2 GBytes.

UTF_STRINGConstant 
public static const UTF_STRING:int = 8

A UTF-8 encoded string value, with length up to 32 KBytes.

UTF_STRING_ARRAYConstant 
public static const UTF_STRING_ARRAY:int = 16

An array of string values.

See also