Méthode | Description | |
---|---|---|
CloseConnections ( ) : void |
Close connections.
|
|
CreateMsgGetBlkListRequest ( byte segmentId, |
Create a MsgGetBlkList request.
|
|
CreateMsgGetBlksRequest ( byte segmentId, CryptoAlgoId_Values cryptoAlgoIdValues, MsgType_Values msgTypeValues ) : |
Create a MsgGetBlks request.
|
|
CreateMsgGetBlksRequest ( byte segmentId, CryptoAlgoId_Values cryptoAlgoIdValues, MsgType_Values msgTypeValues, uint blockIndex, uint blockCount ) : |
Create a MsgGetBlks request.
|
|
CreateMsgGetSegListRequest ( CryptoAlgoId_Values cryptoAlgoIdValues, System.Guid requestID, byte segmentIDs ) : |
Create a MsgGetSegList request.
|
|
CreateMsgGetSegListRequest ( CryptoAlgoId_Values cryptoAlgoIdValues, System.Guid requestID, byte segmentIDs, byte extensibleBlob ) : |
Create a MsgGetSegList request.
|
|
CreateMsgNegoRequest ( |
Create a MsgNego request.
|
|
Dispose ( ) : void |
Release resources.
|
|
ExpectPacket ( ) : |
Expect a packet.
|
|
PccrrClient ( string server, int serverPort ) : System |
Initializes a new instance of the PccrrClient class with default settings.
|
|
PccrrClient ( string server, int serverPort, string pccrrPath, HttpMethod method ) : System |
Initializes a new instance of the PccrrClient class.
|
|
PccrrClient ( string server, int serverPort, string pccrrPath, HttpMethod method, ILogPrinter logger ) : System |
Initializes a new instance of the PccrrClient class.
|
|
SendBytes ( byte bytes, System.TimeSpan timeout ) : void |
Send bytes.
|
|
SendPacket ( |
Send a packet.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Release resources.
|
public CreateMsgGetBlkListRequest ( byte segmentId, |
||
segmentId | byte | The segmentId. |
blockRanges | The needed BlockRanges. | |
cryptoAlgoIdValues | CryptoAlgoId_Values | The cryptoAlgoId. |
msgTypeValues | MsgType_Values | The msgType. |
Résultat |
public CreateMsgGetBlksRequest ( byte segmentId, CryptoAlgoId_Values cryptoAlgoIdValues, MsgType_Values msgTypeValues ) : |
||
segmentId | byte | The segmentId. |
cryptoAlgoIdValues | CryptoAlgoId_Values | The cryptoAlgoId. |
msgTypeValues | MsgType_Values | The msgType. |
Résultat |
public CreateMsgGetBlksRequest ( byte segmentId, CryptoAlgoId_Values cryptoAlgoIdValues, MsgType_Values msgTypeValues, uint blockIndex, uint blockCount ) : |
||
segmentId | byte | The segmentId. |
cryptoAlgoIdValues | CryptoAlgoId_Values | The cryptoAlgoId. |
msgTypeValues | MsgType_Values | The msgType. |
blockIndex | uint | The block index. |
blockCount | uint | The block count. |
Résultat |
public CreateMsgGetSegListRequest ( CryptoAlgoId_Values cryptoAlgoIdValues, System.Guid requestID, byte segmentIDs ) : |
||
cryptoAlgoIdValues | CryptoAlgoId_Values | The cryptoAlgoId. |
requestID | System.Guid | Request ID. |
segmentIDs | byte | Array of segment IDs. |
Résultat |
public CreateMsgGetSegListRequest ( CryptoAlgoId_Values cryptoAlgoIdValues, System.Guid requestID, byte segmentIDs, byte extensibleBlob ) : |
||
cryptoAlgoIdValues | CryptoAlgoId_Values | The cryptoAlgoId. |
requestID | System.Guid | Request ID. |
segmentIDs | byte | Array of segment IDs. |
extensibleBlob | byte | Extensible blob. |
Résultat |
public CreateMsgNegoRequest ( |
||
minSupportedProtocolVer | The minSupportedProtocolVersion. | |
maxSupportedProtocolVer | The maxSupportedProtocolVersion. | |
cryptoAlgoIdValues | CryptoAlgoId_Values | The cryptoAlgoId. |
msgTypeValues | MsgType_Values | The msgType. |
Résultat |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | If disposing equals true, Managed and unmanaged resources are disposed. /// if false, Only unmanaged resources can be disposed. |
Résultat | void |
public PccrrClient ( string server, int serverPort ) : System | ||
server | string | The server name. |
serverPort | int | |
Résultat | System |
public PccrrClient ( string server, int serverPort, string pccrrPath, HttpMethod method ) : System | ||
server | string | The server name. |
serverPort | int | The serverPort. |
pccrrPath | string | The HTTP request uri. |
method | HttpMethod | The HTTP request method. |
Résultat | System |
public PccrrClient ( string server, int serverPort, string pccrrPath, HttpMethod method, ILogPrinter logger ) : System | ||
server | string | The server name. |
serverPort | int | The server port. |
pccrrPath | string | The HTTP request uri. |
method | HttpMethod | The HTTP request method. |
logger | ILogPrinter | The specified logger. |
Résultat | System |
public SendBytes ( byte bytes, System.TimeSpan timeout ) : void | ||
bytes | byte | The bytes need to be sent. |
timeout | System.TimeSpan | The timeout. |
Résultat | void |
public SendPacket ( |
||
packet | The packet need to be sent. | |
timeout | System.TimeSpan | The timeout. |
Résultat | void |