Exemplo n.º 1
0
        public RawEncoder(int bufferSize, IMsgSource msgSource, Endianness endianness)
            : base(bufferSize, endianness)
        {
            m_msgSource = msgSource;

            NextStep(null, 0, RawMessageReadyState, true);
        }
Exemplo n.º 2
0
        public RawEncoder(int bufferSize, IMsgSource msgSource, Endianness endianness) :
            base(bufferSize, endianness)
        {
            m_msgSource = msgSource;

            NextStep(null, 0, RawMessageReadyState, true);
        }
Exemplo n.º 3
0
        public V1Encoder(int bufsize, IMsgSource session, Endianness endian) : base(bufsize, endian)
        {
            m_tmpbuf    = new byte [9];
            m_msgSource = session;

            //  Write 0 bytes to the batch and go to message_ready state.
            NextStep(m_tmpbuf, 0, MessageReadyState, true);
        }
Exemplo n.º 4
0
        public V1Encoder(int bufsize, IMsgSource session, Endianness endian)
            : base(bufsize, endian)
        {
            m_tmpbuf = new byte [9];
            m_msgSource = session;

            //  Write 0 bytes to the batch and go to message_ready state.
            NextStep(m_tmpbuf, 0, MessageReadyState, true);
        }
Exemplo n.º 5
0
        public RawEncoder(int bufferSize, [NotNull] IMsgSource msgSource, Endianness endianness)
            : base(bufferSize, endianness)
        {
            m_msgSource = msgSource;

            m_inProgress = new Msg();
            m_inProgress.InitEmpty();

            NextStep(null, 0, RawMessageReadyState, true);
        }
Exemplo n.º 6
0
        public RawEncoder(int bufferSize, [NotNull] IMsgSource msgSource, Endianness endianness) :
            base(bufferSize, endianness)
        {
            m_msgSource = msgSource;

            m_inProgress = new Msg();
            m_inProgress.InitEmpty();

            NextStep(null, 0, RawMessageReadyState, true);
        }
Exemplo n.º 7
0
        public V2Encoder(int bufferSize, IMsgSource session, Endianness endian)
            : base(bufferSize, endian)
        {
            m_inProgress = new Msg();
            m_inProgress.InitEmpty();

            m_msgSource = session;

            // Write 0 bytes to the batch and go to message_ready state.
            NextStep(m_tmpbuf, 0, MessageReadyState, true);
        }
Exemplo n.º 8
0
 public void SetActiveSource(bool isFileSource)
 {
     if (isFileSource)
     {
         isource = oFileSource;
     }
     else
     {
         isource = oManSource;
     }
 }
Exemplo n.º 9
0
        public V2Encoder(int bufferSize, IMsgSource session, Endianness endian)
            : base(bufferSize, endian)
        {
            this.m_inProgress = new Msg();
            this.m_inProgress.InitEmpty();

            this.m_msgSource = session;

            // Write 0 bytes to the batch and go to message_ready state.
            this.NextStep(this.m_tmpbuf, 0, V2Encoder.MessageReadyState, true);
        }
Exemplo n.º 10
0
 public override void SetMsgSource(IMsgSource msgSource)
 {
     m_msgSource = msgSource;
 }
Exemplo n.º 11
0
 public override void SetMsgSource(IMsgSource msgSource)
 {
     m_msgSource = msgSource;
 }
Exemplo n.º 12
0
 public abstract void SetMsgSource(IMsgSource msgSource);
Exemplo n.º 13
0
 public abstract void SetMsgSource(IMsgSource msgSource);