private ITrace trace; // Tracing. #endregion Fields #region Constructors /* ** Name: Ucs2SegWtr ** ** Description: ** Class constructor. ** ** Input: ** None. ** ** Output: ** None. ** ** Returns: ** None. ** ** History: ** 1-Dec-03 (gordy) ** Created. ** 1-Oct-06 (thoda04) ** Ported to .NET */ public Ucs2SegWtr(MsgOut msg_out, OutBuff outBuff, ITrace trace) { title = "Ucs2SegWtr[" + msg_out.ConnID + "]"; this.trace = trace; this.msg_out = msg_out; this.outBuff = outBuff; }
private ITrace trace; // Tracing. #endregion Fields #region Constructors /* ** Name: ByteSegOS ** ** Description: ** Class constructor. ** ** Input: ** msg_out Message layer output. ** outBuff Buffered output stream. ** trace Tracing. ** ** Output: ** None. ** ** Returns: ** None. ** ** History: ** 29-Sep-99 (gordy) ** Created. ** 17-Nov-99 (gordy) ** Removed msg parameter when class nested. ** 10-May-01 (gordy) ** Added msg_out parameter when class made static.*/ /// <summary> /// Class constructor for converting byte stream into /// segmented output stream. /// </summary> /// <param name="msg_out">Message layer output.</param> /// <param name="outBuff">Buffered output stream.</param> /// <param name="trace">Tracing</param> public ByteSegOS(MsgOut msg_out, OutBuff outBuff, ITrace trace) : base(outBuff.outputStream) { title = "ByteSegOS[" + msg_out.ConnID + "]"; this.trace = trace; this.msg_out = msg_out; this.outBuff = outBuff; ba = new byte[1]; }