메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 |
public CreateMsgGetBlksRequest ( byte segmentId, CryptoAlgoId_Values cryptoAlgoIdValues, MsgType_Values msgTypeValues ) : |
||
segmentId | byte | The segmentId. |
cryptoAlgoIdValues | CryptoAlgoId_Values | The cryptoAlgoId. |
msgTypeValues | MsgType_Values | The msgType. |
리턴 |
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. |
리턴 |
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. |
리턴 |
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. |
리턴 |
public CreateMsgNegoRequest ( |
||
minSupportedProtocolVer | The minSupportedProtocolVersion. | |
maxSupportedProtocolVer | The maxSupportedProtocolVersion. | |
cryptoAlgoIdValues | CryptoAlgoId_Values | The cryptoAlgoId. |
msgTypeValues | MsgType_Values | The msgType. |
리턴 |
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. |
리턴 | void |
public PccrrClient ( string server, int serverPort ) : System | ||
server | string | The server name. |
serverPort | int | |
리턴 | 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. |
리턴 | 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. |
리턴 | System |
public SendBytes ( byte bytes, System.TimeSpan timeout ) : void | ||
bytes | byte | The bytes need to be sent. |
timeout | System.TimeSpan | The timeout. |
리턴 | void |
public SendPacket ( |
||
packet | The packet need to be sent. | |
timeout | System.TimeSpan | The timeout. |
리턴 | void |