Inheritance: NetMQ.Core.Own, Pipe.IPipeEvents, IProactorEvents, IMsgSink, IMsgSource
Exemple #1
0
        /// <summary>
        /// Send the Attach command
        /// </summary>
        /// <param name="destination">the Own to send the command to</param>
        /// <param name="engine"></param>
        /// <param name="incSeqnum"></param>
        protected void SendAttach( SessionBase destination,  IEngine engine, bool incSeqnum = true)
        {
            if (incSeqnum)
                destination.IncSeqnum();

            SendCommand(new Command(destination, CommandType.Attach, engine));
        }