Method | Description | |
---|---|---|
ExpectInitialOfferMessage ( System.TimeSpan timeout ) : |
Receive a InitialOfferMessage from the Client.
|
|
ExpectSegmentInfoMessage ( System.TimeSpan timeout ) : |
Receive a SegmentInfoMessage from the Client.
|
|
Initialize ( ITestSite testSite ) : void |
Initialize protocol adapter.
|
|
Reset ( ) : void |
Reset the adapter
|
|
SendHttpStatusCode401 ( ) : void |
Send the Http Status Code 401.
|
|
SendResponseMessage ( int responseCode ) : void |
Send the corresponding response for the request message.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.
|
Method | Description | |
---|---|---|
GetProperty ( string propName ) : string |
Get the value of property in ptfconfig file.
|
|
ValidateClientInitialization ( string serverComputerName, string httpsPort, string transProtocol ) : void |
Validate client initialization RS.
|
|
ValidateConnectionInformation ( |
Validate the CONNECTION_INFORMATION of request message.
|
|
ValidateInitialOfferMessage ( |
Capture the INITIAL_OFFER_MESSAGE message RS
|
|
ValidatePccrcCSegment ( |
Validate pccrc cSegments part.
|
|
ValidatePccrcSegmentInfoVersion ( |
Validate pccrc segment info version part.
|
|
ValidateRequestMessageHeader ( |
Validate the MESSAGE_HEADER of request message.
|
|
ValidateSegmentInfoMessage ( |
Capture SEGMENT_INFO_MESSAGE message RS
|
|
ValidateSegmentInformation ( |
Validate the SegmentInformation in the Segment_info-Message.
|
|
ValidateSegmentInformationFromPccrc ( |
Validate the segmentInformation In SEGMTNE_INFO_MESSAGE.
|
|
ValidateTransport ( string method ) : void |
Validate the transport between the client and the hosted cahce.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | /// If disposing equals false, the method has been called by the /// runtime from inside the finalizer and you should not reference /// other objects. Only unmanaged resources can be disposed. |
return | void |
public ExpectInitialOfferMessage ( System.TimeSpan timeout ) : |
||
timeout | System.TimeSpan | Waiting for specified timeout to receive the specified request. |
return |
public ExpectSegmentInfoMessage ( System.TimeSpan timeout ) : |
||
timeout | System.TimeSpan | Waiting for specified timeout to receive the specified request. |
return |
public Initialize ( ITestSite testSite ) : void | ||
testSite | ITestSite | The test site. |
return | void |
public SendResponseMessage ( int responseCode ) : void | ||
responseCode | int | /// The ResponseCode specified the hosted cache server is INTERESTED or OK. /// 1 is for INTERESTED, 0 is for OK. /// |
return | void |