IgeEntity

Method: streamCreateData

Override this method if your entity should send data through to the client when it is being created on the client for the first time through the network stream. The data will be provided as the first argument in the constructor call to the entity class so you should expect to receive it as per this example:
streamCreateData ()

Using and Receiving Stream Create Data

var MyNewClass = IgeEntity.extend({
    classId: 'MyNewClass',

    // Define the init with the parameter to receive the
    // data you return in the streamCreateData() method
    init: function (myCreateData) {
        this._myData = myCreateData;
    },

    streamCreateData: function () {
        return this._myData;
    }
});

Valid return values must not include circular references!

© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point