# /Users/cem/Works/INFSmartFoxiPhoneLibrary/INFSmartFoxiPhoneLibrary/Classes/INFSmartFoxiPhoneClient.m File Reference

`#import "INFSmartFoxiPhoneClient.h"`

## Variables
NSInteger | INFSMARTFOXCLIENT_EOM = 0x00
NSString * | INFSMARTFOXCLIENT_MSG_XML = @"<"
NSString * | INFSMARTFOXCLIENT_MSG_JSON = @"{"
NSString * | INFSMARTFOXCLIENT_MODMSG_TO_USER = @"u"
NSString * | INFSMARTFOXCLIENT_MODMSG_TO_ROOM = @"r"
NSString * | INFSMARTFOXCLIENT_MODMSG_TO_ZONE = @"z"
NSString * | INFSMARTFOXCLIENT_XTMSG_TYPE_XML = @"xml"
NSString * | INFSMARTFOXCLIENT_XTMSG_TYPE_STR = @"str"
NSString * | INFSMARTFOXCLIENT_XTMSG_TYPE_JSON = @"json"
NSString * | INFSMARTFOXCLIENT_CONNECTION_MODE_DISCONNECTED = @"disconnected"
NSString * | INFSMARTFOXCLIENT_CONNECTION_MODE_SOCKET = @"socket"
NSString * | INFSMARTFOXCLIENT_CONNECTION_MODE_HTTP = @"http"

## Variable Documentation

NSString* INFSMARTFOXCLIENT_CONNECTION_MODE_DISCONNECTED = @"disconnected"

Connection mode: "disconnected". The client is currently disconnected from SmartFoxServer.

See also:
  getConnectionMode

Since:
  SmartFoxServer Pro v1.6.0

Version:
  SmartFoxServer Pro

NSString* INFSMARTFOXCLIENT_CONNECTION_MODE_HTTP = @"http"

Connection mode: "http". The client is currently connected to SmartFoxServer via http.

See also:
  getConnectionMode

Since:
  SmartFoxServer Pro v1.6.0

Version:
  SmartFoxServer Pro

NSString* INFSMARTFOXCLIENT_CONNECTION_MODE_SOCKET = @"socket"

Connection mode: "socket". The client is currently connected to SmartFoxServer via socket.

See also:
  getConnectionMode

Since:
  SmartFoxServer Pro v1.6.0

Version:
  SmartFoxServer Pro

NSInteger INFSMARTFOXCLIENT_EOM = 0x00

NSString* INFSMARTFOXCLIENT_MODMSG_TO_ROOM = @"r"

Moderator message type: "to room". The Moderator message is sent to all the users in a room.

See also:
  sendModeratorMessage

Version:
  SmartFoxServer Basic / Pro

NSString* INFSMARTFOXCLIENT_MODMSG_TO_USER = @"u"

Moderator message type: "to user". The Moderator message is sent to a single user.

See also:
  sendModeratorMessage

Version:
  SmartFoxServer Basic / Pro

NSString* INFSMARTFOXCLIENT_MODMSG_TO_ZONE = @"z"

Moderator message type: "to zone". The Moderator message is sent to all the users in a zone.

See also:
  sendModeratorMessage

Version:
  SmartFoxServer Basic / Pro

NSString* INFSMARTFOXCLIENT_MSG_JSON = @"{"

NSString* INFSMARTFOXCLIENT_MSG_XML = @"<"

NSString* INFSMARTFOXCLIENT_XTMSG_TYPE_JSON = @"json"

Server-side extension request/response protocol: JSON.

See also:
  sendXtMessage

  SFSEvent::onExtensionResponse

Version:
  SmartFoxServer Pro

NSString* INFSMARTFOXCLIENT_XTMSG_TYPE_STR = @"str"

Server-side extension request/response protocol: String (aka "raw protocol").

See also:
  sendXtMessage

  SFSEvent::onExtensionResponse

Version:
  SmartFoxServer Pro

NSString* INFSMARTFOXCLIENT_XTMSG_TYPE_XML = @"xml"

Server-side extension request/response protocol: XML.

See also:
  sendXtMessage

  SFSEvent::onExtensionResponse

Version:
  SmartFoxServer Pro