Method | Description | |
---|---|---|
Initialize ( ITestSite testSite ) : void |
Initialize adapter data and create connection.
|
|
Reset ( ) : void |
Reset the adapter
|
|
SendMsgBlk ( bool isTimerExpire, bool isSameSegment, DWHashAlgValues dwHashAlgoValues, uint index, bool isLastBLK ) : void |
Send message MSG_BLK.
|
|
SendMsgBlkList ( bool isTimerExpire, bool isSameSegment, DWHashAlgValues dwHashAlgoValues, bool isOverlap ) : void |
Send message MSG_BLKLIST.
|
|
SendMsgNegoResp ( bool isSupportVersion, bool isWellFormed ) : void |
Send message MSG_NEGO_RESP.
|
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.
|
Method | Description | |
---|---|---|
GetProperty ( string propName ) : string |
Get the value of property in ptfconfig file.
|
|
RetrievalTransport_Receive ( |
Verify the received message from client.
|
|
VerifyGetBlkList ( |
MSG_GETBLKLIST structure capture.
|
|
VerifyGetBlocks ( |
MSG_GETBLKS structure capture
|
|
VerifyRequestMessage ( |
REQUEST_MESSAGE structure capture
|
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 Initialize ( ITestSite testSite ) : void | ||
testSite | ITestSite | the test site |
return | void |
public SendMsgBlk ( bool isTimerExpire, bool isSameSegment, DWHashAlgValues dwHashAlgoValues, uint index, bool isLastBLK ) : void | ||
isTimerExpire | bool | The timer for SendMsgBlk from client will expire or not. |
isSameSegment | bool | The message is for the segment that client request. |
dwHashAlgoValues | DWHashAlgValues | The dwHashAlgo value. |
index | uint | Block index |
isLastBLK | bool | If it is true, the block is the last BLK. |
return | void |
public SendMsgBlkList ( bool isTimerExpire, bool isSameSegment, DWHashAlgValues dwHashAlgoValues, bool isOverlap ) : void | ||
isTimerExpire | bool | The timer for SendMsgBlkList from client will expire or not. |
isSameSegment | bool | The SegmentID is same as the request from client. |
dwHashAlgoValues | DWHashAlgValues | The dwHashAlgo value. |
isOverlap | bool | The block ranges overlap with the ranges specified in any request /// with a matching Segment ID in the outstanding request list. |
return | void |
public SendMsgNegoResp ( bool isSupportVersion, bool isWellFormed ) : void | ||
isSupportVersion | bool | If it is true, it is support version, if it is false, it is not support version. |
isWellFormed | bool | If it is true, it is well formed, if it is false, it is not well formed. |
return | void |