Class ExtensionRequest

java.lang.Object
sfs3.client.requests.BaseRequest
sfs3.client.requests.ExtensionRequest
All Implemented Interfaces:
sfs3.client.requests.IClientRequest

public class ExtensionRequest extends BaseRequest

Sends a command to the server-side Extension attached to the Zone or to a Room.

This request is used to send custom commands from the client to a server-side Extension, be it a Zone-level or Room-level Extension. Also, the extensionResponse event is used by the server to send Extension commands/responses to the client.

Read the SmartFoxServer 3 documentation about server-side Extension for more informations.

By default ExtensionRequest is sent via TCP but it's also possible to use UDP protocol instead, provided a UDP connection is already established. (see the SmartFox.isUdpConnected()).

See Also: