예제 #1
0
파일: PgmSender.cs 프로젝트: awb99/netmq
        public PgmSender( IOThread ioThread,  Options options,  Address addr)
            : base(ioThread)
        {
            m_options = options;
            m_addr = addr;
            m_encoder = null;
            m_outBuffer = null;
            m_outBufferSize = 0;
            m_writeSize = 0;
            m_encoder = new V1Encoder(0, m_options.Endian);

            m_state = State.Idle;
        }
예제 #2
0
        public PgmSender([NotNull] IOThread ioThread, [NotNull] Options options, [NotNull] Address addr)
            : base(ioThread)
        {
            m_options       = options;
            m_addr          = addr;
            m_encoder       = null;
            m_outBuffer     = null;
            m_outBufferSize = 0;
            m_writeSize     = 0;
            m_encoder       = new V1Encoder(0, m_options.Endian);

            m_state = State.Idle;
        }
예제 #3
0
파일: PgmSender.cs 프로젝트: r618/netmq
        public PgmSender([NotNull] IOThread ioThread, [NotNull] Options options, [NotNull] Address addr, bool delayedStart)
            : base(ioThread)
        {
            m_options             = options;
            m_addr                = addr;
            m_delayedStart        = delayedStart;
            m_encoder             = null;
            m_outBuffer           = null;
            m_outBufferSize       = 0;
            m_writeSize           = 0;
            m_encoder             = new V1Encoder(0, m_options.Endian);
            m_currentReconnectIvl = m_options.ReconnectIvl;

            m_state = State.Idle;
        }
예제 #4
0
파일: PgmSender.cs 프로젝트: NetMQ/NetMQ3-x
        public PgmSender([NotNull] IOThread ioThread, [NotNull] Options options, [NotNull] Address addr, bool delayedStart)
            : base(ioThread)
        {
            m_options = options;
            m_addr = addr;
            m_delayedStart = delayedStart;
            m_encoder = null;
            m_outBuffer = null;
            m_outBufferSize = 0;
            m_writeSize = 0;
            m_encoder = new V1Encoder(0, m_options.Endian);
            m_currentReconnectIvl = m_options.ReconnectIvl;

            m_state = State.Idle;
        }