function ILXFlow(flowWrap, clientStreamWrap, serverStreamWrap, isTcp)
{
    events.EventEmitter.call(this);

    // link both ways, ILXFlow knows the C++ ILXFlowWrap object, and the wrapper knows the
    // ILXFlow object
    this._handle = flowWrap;
    this._handle.owner = this;
    this._id = ++_ilxFlowId;

    this.virtual = this._handle.getVsInfo();

    if (isTcp === true) {
        this.client = new ILXStream( { handle: clientStreamWrap, f5 : { flow: this } } );
        this.server = new ILXStream( { handle: serverStreamWrap, f5 : { flow: this } } );
    }

    // load balancing and server connection info is available after the
    // connect event has occured
    this._lbInfo = false;

    // callbacks that are invoked from the c++ implementation
    this._handle.onIlxServerConnected = ilxServerConnectedCb;
    this._handle.onIlxClose = ilxCloseCb;
    this._handle.onIlxError = ilxFlowErrorCb;

    this._active = true;

    this._traceLevel = 0;
}
/**
 * An ILXFlow is created by the ILXPlugin class when a client connects to a virtual server.
 * The flow represents an end to end connection from the client, through a BigIP, to the server.
 * There are client side (ILXFlow.client.stream) and server side streams (ILXFlow.server.stream)
 * available.
 *
 * @constructor
 * @param {object} flowWrap - C++ implementation wrapper
 * @param {object} clientStreamWrap - C++ implementation wrapper
 * @param {object} serverStreamWrap - C++ implementation wrapper
 * @param {boolean} isTcp - Indicates whether the flow is TCP based. This is the only suported
 * option.
 *
 */
An ILXFlow is created by the ILXPlugin class when a client connects to a virtual server.
The flow represents an end to end connection from the client, through a BigIP, to the server.
There are client side (ILXFlow.client.stream) and server side streams (ILXFlow.server.stream)
available.


An ILXFlow is created by the ILXPlugin class when a client connects to a virtual server . The flow represents an end to end connection from the client through a BigIP to the server . There are client side ( ILXFlow . client . stream ) and server side streams ( ILXFlow . server . stream ) available .
function ILXFlow(flowWrap, clientStreamWrap, serverStreamWrap, isTcp)
{
    events.EventEmitter.call(this);
    this._handle = flowWrap;
    this._handle.owner = this;
    this._id = ++_ilxFlowId;
    this.virtual = this._handle.getVsInfo();
    if (isTcp === true) {
        this.client = new ILXStream( { handle: clientStreamWrap, f5 : { flow: this } } );
        this.server = new ILXStream( { handle: serverStreamWrap, f5 : { flow: this } } );
    }
    this._lbInfo = false;
    this._handle.onIlxServerConnected = ilxServerConnectedCb;
    this._handle.onIlxClose = ilxCloseCb;
    this._handle.onIlxError = ilxFlowErrorCb;
    this._active = true;
    this._traceLevel = 0;
}
function ILXFlow ( flowWrap , clientStreamWrap , serverStreamWrap , isTcp ) { events . EventEmitter . call ( this ) ; this . _handle = flowWrap ; this . _handle . owner = this ; this . _id = ++ _ilxFlowId ; this . virtual = this . _handle . getVsInfo ( ) ; if ( isTcp === true ) { this . client = new ILXStream ( { handle : clientStreamWrap , f5 : { flow : this } } ) ; this . server = new ILXStream ( { handle : serverStreamWrap , f5 : { flow : this } } ) ; } this . _lbInfo = false ; this . _handle . onIlxServerConnected = ilxServerConnectedCb ; this . _handle . onIlxClose = ilxCloseCb ; this . _handle . onIlxError = ilxFlowErrorCb ; this . _active = true ; this . _traceLevel = 0 ; }
An ILXFlow is created by the ILXPlugin class when a client connects to a virtual server.
An ILXFlow is created by the ILXPlugin class when a client connects to a virtual server .
// link both ways, ILXFlow knows the C++ ILXFlowWrap object, and the wrapper knows the // ILXFlow object // load balancing and server connection info is available after the // connect event has occured // callbacks that are invoked from the c++ implementation