Méthode | Description | |
---|---|---|
CloseConnections ( ) : void |
Close connections.
|
|
CreateMsgBlkListResponse ( byte segmentId, |
Create a MsgBlkList response.
|
|
CreateMsgBlkResponse ( byte segmentId, byte block, CryptoAlgoId_Values cryptoAlgoIdValues, MsgType_Values msgTypeValues, bool isLastBLKAvail ) : |
Create a MsgBlk response.
|
|
CreateMsgBlkResponse ( byte segmentId, byte block, CryptoAlgoId_Values cryptoAlgoIdValues, MsgType_Values msgTypeValues, byte iv, uint blockIndex, uint nextBlockIndex ) : |
Create a MsgBlk response.
|
|
CreateMsgNegoResponse ( |
Create a MsgNego response.
|
|
CreateSegListResponse ( CryptoAlgoId_Values cryptoAlgoIdValues, System.Guid requestID, |
Create a MsgSegList response.
|
|
Dispose ( ) : void |
Release resources.
|
|
PccrrServer ( int serverPort ) : System |
Initializes a new instance of the PccrrServer class with default settings.
|
|
PccrrServer ( int serverPort, string pccrrPath, IPAddressType addressType ) : System |
Initializes a new instance of the PccrrServer class.
|
|
PccrrServer ( int serverPort, string pccrrPath, IPAddressType addressType, ILogPrinter logger ) : System |
Initializes a new instance of the PccrrServer class.
|
|
SendBytes ( byte bytes ) : void |
Send bytes.
|
|
SendPacket ( |
Send a packet.
|
|
StartListening ( ) : void |
Start listening.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Release resources.
|
Méthode | Description | |
---|---|---|
DecodePacket ( |
Decode a packet.
|
|
DecomposeHttpRequest ( |
Gets the request body byte array from the http request.
|
|
HttpServerTransport_ReceiveFrom ( object sender, |
Receive pccrr message.
|
public CreateMsgBlkListResponse ( byte segmentId, |
||
segmentId | byte | The segmentId. |
blockRanges | The blockRanges. | |
nextBlockIndex | uint | The nextBlockIndex. |
cryptoAlgoIdValues | CryptoAlgoId_Values | The cryptoAlgoId. |
msgTypeValues | MsgType_Values | The msgType. |
Résultat |
public CreateMsgBlkResponse ( byte segmentId, byte block, CryptoAlgoId_Values cryptoAlgoIdValues, MsgType_Values msgTypeValues, bool isLastBLKAvail ) : |
||
segmentId | byte | The segmentId. |
block | byte | The block. |
cryptoAlgoIdValues | CryptoAlgoId_Values | The cryptoAlgoId. |
msgTypeValues | MsgType_Values | The msgType. |
isLastBLKAvail | bool | If it is true, the block is the last available block. |
Résultat |
public CreateMsgBlkResponse ( byte segmentId, byte block, CryptoAlgoId_Values cryptoAlgoIdValues, MsgType_Values msgTypeValues, byte iv, uint blockIndex, uint nextBlockIndex ) : |
||
segmentId | byte | The segmentId. |
block | byte | The block. |
cryptoAlgoIdValues | CryptoAlgoId_Values | The cryptoAlgoId. |
msgTypeValues | MsgType_Values | The msgType. |
iv | byte | The initial vector. |
blockIndex | uint | Block index. |
nextBlockIndex | uint | Next available block index. |
Résultat |
public CreateMsgNegoResponse ( |
||
minSupportedProtocolVer | The minSupportedProtocolVersion. | |
maxSupportedProtocolVer | The maxSupportedProtocolVersion. | |
cryptoAlgoIdValues | CryptoAlgoId_Values | The cryptoAlgoId. |
msgTypeValues | MsgType_Values | The msgType. |
Résultat |
public CreateSegListResponse ( CryptoAlgoId_Values cryptoAlgoIdValues, System.Guid requestID, |
||
cryptoAlgoIdValues | CryptoAlgoId_Values | The cryptoAlgoId. |
requestID | System.Guid | Request ID. |
segmentRanges | Segment ranges. | |
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 PccrrServer ( int serverPort ) : System | ||
serverPort | int | The server port. |
Résultat | System |
public PccrrServer ( int serverPort, string pccrrPath, IPAddressType addressType ) : System | ||
serverPort | int | The server port. |
pccrrPath | string | The pccrr path. |
addressType | IPAddressType | The IP address type. |
Résultat | System |
public PccrrServer ( int serverPort, string pccrrPath, IPAddressType addressType, ILogPrinter logger ) : System | ||
serverPort | int | The server port. |
pccrrPath | string | The pccrr path. |
addressType | IPAddressType | The IP address type. |
logger | ILogPrinter | The specified logger. |
Résultat | System |
public SendBytes ( byte bytes ) : void | ||
bytes | byte | The bytes need to be sent. |
Résultat | void |
public SendPacket ( |
||
packet | The packet need to be sent. | |
Résultat | void |