C# Class Microsoft.Protocols.TestSuites.Pchc.ClientHelper

The helper is used to exchange the data struct in adapter and stack.
Show file Open project: Microsoft/WindowsProtocolTestSuites

Public Methods

Method Description
ConvertFromStackForInitialOfferMsg ( INITIAL_OFFER_MESSAGE initialOfferMessageStack ) : InitialOfferMessage

Convert the initialOfferMessageStack struct defined in stack to adapter

ConvertFromStackForSegmentInfoMsg ( SEGMENT_INFO_MESSAGE segmentInforMessageStack ) : SegmentInfoMessage

Convert the segmentInforMessageStack struct defined in stack to adapter

ConvertToStackForInitialOfferMsg ( InitialOfferMessage initialOfferMessage ) : INITIAL_OFFER_MESSAGE

Convert the initialOfferMessage struct defined in adapter to stack

ConvertToStackForSegmentInfoMsg ( SegmentInfoMessage segmentInforMessage ) : SEGMENT_INFO_MESSAGE

Convert the segmentInforMessage struct defined in adapter to stack

Private Methods

Method Description
ConvertFromStackForConnInfo ( CONNECTION_INFORMATION connectionInformationStack ) : ConnectionInformation

Convert the connectionInformationStack struct defined in stack to adapter

ConvertFromStackForMsgHeader ( MESSAGE_HEADER messageHeaderStack ) : MessageHeader

Convert the messageHeaderStack struct defined in stack to adapter

ConvertFromStackForPCHCMsgType ( PCHC_MESSAGE_TYPE pchcMessageTypeStack ) : PCHCMessageType

Convert the pchcMessageTypeStack struct defined in stack to adapter

ConvertToStackForConnInfo ( ConnectionInformation connectionInformation ) : CONNECTION_INFORMATION

Convert the connectionInformation struct defined in adapter to stack

ConvertToStackForMsgHeader ( MessageHeader messageHeader ) : MESSAGE_HEADER

Convert the messageHeader struct defined in adapter to stack

ConvertToStackForPCHCMsgType ( PCHCMessageType pchcMessageType ) : PCHC_MESSAGE_TYPE

Convert the pchcMessageType struct defined in adapter to stack

Method Details

ConvertFromStackForInitialOfferMsg() public static method

Convert the initialOfferMessageStack struct defined in stack to adapter
public static ConvertFromStackForInitialOfferMsg ( INITIAL_OFFER_MESSAGE initialOfferMessageStack ) : InitialOfferMessage
initialOfferMessageStack Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pchc.INITIAL_OFFER_MESSAGE The initialOfferMessageStack message
return InitialOfferMessage

ConvertFromStackForSegmentInfoMsg() public static method

Convert the segmentInforMessageStack struct defined in stack to adapter
public static ConvertFromStackForSegmentInfoMsg ( SEGMENT_INFO_MESSAGE segmentInforMessageStack ) : SegmentInfoMessage
segmentInforMessageStack Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pchc.SEGMENT_INFO_MESSAGE The segmentInforMessageStack message
return SegmentInfoMessage

ConvertToStackForInitialOfferMsg() public static method

Convert the initialOfferMessage struct defined in adapter to stack
public static ConvertToStackForInitialOfferMsg ( InitialOfferMessage initialOfferMessage ) : INITIAL_OFFER_MESSAGE
initialOfferMessage InitialOfferMessage The initialOfferMessage message
return Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pchc.INITIAL_OFFER_MESSAGE

ConvertToStackForSegmentInfoMsg() public static method

Convert the segmentInforMessage struct defined in adapter to stack
public static ConvertToStackForSegmentInfoMsg ( SegmentInfoMessage segmentInforMessage ) : SEGMENT_INFO_MESSAGE
segmentInforMessage SegmentInfoMessage The segmentInforMessage message
return Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pchc.SEGMENT_INFO_MESSAGE