public RawEncoder(int bufferSize, IMsgSource msgSource, Endianness endianness) : base(bufferSize, endianness) { m_msgSource = msgSource; NextStep(null, 0, RawMessageReadyState, 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); }
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); }
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); }
public void SetActiveSource(bool isFileSource) { if (isFileSource) { isource = oFileSource; } else { isource = oManSource; } }
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); }
public override void SetMsgSource(IMsgSource msgSource) { m_msgSource = msgSource; }
public abstract void SetMsgSource(IMsgSource msgSource);