Beispiel #1
0
        public RawEncoder(int bufferSize, IMsgSource msgSource, Endianness endianness)
            : base(bufferSize, endianness)
        {
            m_msgSource = msgSource;

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

            NextStep(null, 0, RawMessageReadyState, true);
        }
Beispiel #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);
        }
        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);
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #8
0
 public void SetActiveSource(bool isFileSource)
 {
     if (isFileSource)
     {
         isource = oFileSource;
     }
     else
     {
         isource = oManSource;
     }
 }
Beispiel #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);
        }
Beispiel #10
0
 public override void SetMsgSource(IMsgSource msgSource)
 {
     m_msgSource = msgSource;
 }
Beispiel #11
0
 public override void SetMsgSource(IMsgSource msgSource)
 {
     m_msgSource = msgSource;
 }
Beispiel #12
0
 public abstract void SetMsgSource(IMsgSource msgSource);
Beispiel #13
0
 public abstract void SetMsgSource(IMsgSource msgSource);