code: function Federate(object, target, wspool, options) {
    events.EventEmitter.call(this);
    this.object = object;
    this.target = target;
    this.reconnecting = false;
    this.channelpool = wspool;
    this.state = {};
    this._options(options);
    this.queue = [];
    this._attachWs(false);
  }
docs: Federate
  @param object
  @param target
  @param wspool
  @param options
  @constructor