Description

Initializes the connection and call the class

Usage

Parameters

  • name {String}

    Class name

  • name {Array} optional

    (optional) Name of the methods that can be called by the client

  • model {Object} optional

    (optional) Properties and methods of this class

    • the "initialize" method is called automatically when the connection with socket parameter
    • the "disconnect" method is called when the user logs out

Returns

ModelServer

Discussion