예제 #1
0
파일: msgin.cs 프로젝트: JordanChin/Ingres
            private ITrace trace; // Tracing.

            #endregion Fields

            #region Constructors

            /*
            ** Name: Ucs2SegRdr
            **
            ** Description:
            **	Class constructor.
            **
            ** Input:
            **	msg_in	    Message layer input.
            **	trace	    Tracing output.
            **	msg_id	    Message ID.
            **
            ** Output:
            **	None.
            **
            ** Returns:
            **	None.
            **
            ** History:
            **	10-May-01 (gordy)
            **	    Created.
            **	22-Sep-03 (gordy)
            **	    Added msg_id parameter from former begin() method.
            */
            public Ucs2SegRdr( MsgIn msg_in, ITrace trace, byte msg_id )
            {
                this.msg_in = msg_in;
                this.trace = trace;
                this.msg_id = msg_id;
                end_of_data = false;
                title = "Ucs2SegRdr[" + msg_in.ConnID + "]";
                if ( trace.enabled( 3 ) )  trace.write( title + ": start of BLOB" );
            }
예제 #2
0
파일: msgin.cs 프로젝트: JordanChin/Ingres
            private ITrace trace; // Tracing.

            #endregion Fields

            #region Constructors

            /*
            ** Name: ByteSegIS
            **
            ** Description:
            **	Class constructor.
            **
            ** Input:
            **	msg_in	    Db connection input.
            **	trace	    Tracing output.
            **	msg_id	    Message ID.
            **
            ** Output:
            **	None.
            **
            ** Returns:
            **	None.
            **
            ** History:
            **	21-Apr-00 (gordy)
            **	    Created.
            **	22-Sep-03 (gordy)
            **	    Added msg_id parameter from former begin() method.
            */
            public ByteSegIS( MsgIn msg_in, ITrace trace, byte msg_id )
                : base(InputStream.InputStreamNull)
            {
                this.msg_in = msg_in;
                this.trace = trace;
                this.msg_id = msg_id;
                end_of_data = false;
                title = "ByteSegIS[" + msg_in.ConnID + "]";
                if ( trace.enabled( 3 ) )  trace.write( title + ": start of BLOB" );
            }