Microsoft.Protocols.TestSuites.Pchc.ServerHelper.ConvertToStackForResponseMsg C# (CSharp) Method

ConvertToStackForResponseMsg() public static method

Convert the responsemessage struct defined in adapter to stack
public static ConvertToStackForResponseMsg ( ResponseMessage responseMessage ) : RESPONSE_MESSAGE
responseMessage ResponseMessage The response message of send initialInfoMeaage or segmentInfoMessage
return Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pchc.RESPONSE_MESSAGE
        public static RESPONSE_MESSAGE ConvertToStackForResponseMsg(ResponseMessage responseMessage)
        {
            RESPONSE_MESSAGE responseMessageStack;
            responseMessageStack.ResponseCode = ConvertToStackForResponseCode(responseMessage.ResponseCode);
            responseMessageStack.TransportHeader = ConvertToStackForTransHeader(responseMessage.TransportHeader);

            return responseMessageStack;
        }