NetMQ.Core.SessionBase.AttachPipe C# (CSharp) Method

AttachPipe() public method

Attach the given pipe to this session.
This is to be used once only, when creating the session.
public AttachPipe ( [ pipe ) : void
pipe [
return void
        public void AttachPipe([NotNull] Pipe pipe)
        {
            Debug.Assert(!IsTerminating);
            Debug.Assert(m_pipe == null);
            Debug.Assert(pipe != null);
            m_pipe = pipe;
            m_pipe.SetEventSink(this);
        }