Метод | Описание | |
---|---|---|
GetContentInfo ( string serverAddress, int port, string uri ) : |
Get the content Info from the content server.
|
|
GetSegmentIds ( string serverAddress, int port, string path ) : string[] |
Get the segment IDs computed using content information that is got from the content server.
|
|
GetSegmentIdsByteArray ( string serverAddress, int port, string uri ) : ICollection |
Get the byte array list of segment IDs computed using content information that is got from the content server.
|
|
Initialize ( ITestSite testSite ) : void |
Initialize the frame work adapter
|
|
OfferHostedCacheContentInfo ( |
Offer the block hashes to the hosted cache server.
|
|
Reset ( ) : void |
Reset the adapter
|
|
SendProbeMatchMessage ( string relatesTo, string instanceId, uint messageNumber, |
Send the ProbeMatch message.
|
|
StartPccrdServerListening ( ) : void |
Start the MS-PCCRD server listening to incoming MS-PCCRD request message.
|
|
StartPccrrServerListening ( int port ) : void |
Start the MS-PCCRR server listening to incoming MS-PCCRR request message.
|
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
GetPccrtpResponse ( string serverAddress, int port, string uri ) : bool |
Get the pccrtp response with http header "peerdist".
|
|
RetrievalTransport_Receive ( |
The handle of MessageArrivedEventArgs happened.
|
|
Server_ReceiveProbeMessage ( |
Receive probe message.
|
|
ToHexString ( byte data ) : string |
Convert input byte array to Hex string.
|
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. /// |
Результат | void |
public GetContentInfo ( string serverAddress, int port, string uri ) : |
||
serverAddress | string | The content server address. |
port | int | The port that the content server is listening. |
uri | string | The path of the file to request. |
Результат |
public GetSegmentIds ( string serverAddress, int port, string path ) : string[] | ||
serverAddress | string | The content server address. |
port | int | The port that the content server is listening. |
path | string | The path of the file to request. |
Результат | string[] |
public GetSegmentIdsByteArray ( string serverAddress, int port, string uri ) : ICollection |
||
serverAddress | string | The content server address. |
port | int | The port that the content server is listening. |
uri | string | The path of the file to request. |
Результат | ICollection |
public Initialize ( ITestSite testSite ) : void | ||
testSite | ITestSite | The test site instance associated with the current adapter. |
Результат | void |
public OfferHostedCacheContentInfo ( |
||
contentInfo | The content information | |
Результат | void |
public SendProbeMatchMessage ( string relatesTo, string instanceId, uint messageNumber, |
||
relatesTo | string | The relatesTo. |
instanceId | string | The instanceId. |
messageNumber | uint | The messageNumber. |
matches | The matches. | |
ip | string | The ip address of content client. |
port | int | The port of content client. |
Результат | void |
public StartPccrdServerListening ( ) : void | ||
Результат | void |
public StartPccrrServerListening ( int port ) : void | ||
port | int | The listening port. |
Результат | void |