The transport adds the following header in front of any response protocol message.
Exemplo n.º 1
0
        /// <summary>
        /// Convert the transportheader struct defined in adapter to stack
        /// </summary>
        /// <param name="transportHeader">The header of the transpport</param>
        /// <returns>Return the transportheader type defined in stack</returns>
        private static TRANSPORT_HEADER ConvertToStackForTransHeader(TransportHeader transportHeader)
        {
            TRANSPORT_HEADER transportHeaderStack;

            transportHeaderStack.Size = transportHeader.Size;

            return(transportHeaderStack);
        }
        /// <summary>
        /// Convert the transportheader struct defined in adapter to stack
        /// </summary>
        /// <param name="transportHeader">The header of the transpport</param>
        /// <returns>Return the transportheader type defined in stack</returns>
        private static TRANSPORT_HEADER ConvertToStackForTransHeader(TransportHeader transportHeader)
        {
            TRANSPORT_HEADER transportHeaderStack;
            transportHeaderStack.Size = transportHeader.Size;

            return transportHeaderStack;
        }