Ejemplo n.º 1
0
Archivo: Own.cs Proyecto: xuzhe35/netmq
        /// <summary> Launch the supplied object and become its owner. </summary>
        /// <param name="object_">The object to be launched.</param>
        protected void LaunchChild(Own object_)
        {
            //  Specify the owner of the object.
            object_.SetOwner(this);

            //  Plug the object into the I/O thread.
            SendPlug(object_);

            //  Take ownership of the object.
            SendOwn(this, object_);
        }
Ejemplo n.º 2
0
        /// <summary> Launch the supplied object and become its owner. </summary>
        /// <param name="object_">The object to be launched.</param>
        protected void LaunchChild(Own object_)
        {
            //  Specify the owner of the object.
            object_.SetOwner(this);

            //  Plug the object into the I/O thread.
            SendPlug(object_);

            //  Take ownership of the object.
            SendOwn(this, object_);
        }