Свойство | Type | Description | |
---|---|---|---|
$ext | string | ||
$name | string | ||
$parent | Continuum | Keyggdrasil | ||
$peers | Peer[] | ||
$publicKey | |||
$urls | string[] |
Méthode | Description | |
---|---|---|
__construct ( object $parent, string $name, array $config = [] ) | Channel constructor. | |
createSupplier ( array $data ) : |
Create a new supplier. | |
getAllSuppliers ( ) : array | Get all suppliers for a particular channel | |
getAllURLs ( boolean $doNotShuffle = false ) : array | Get all URLs | |
getAppropriatePeerSize ( integer $sizeOfList ) : integer | The natural log of the size of the peer list, rounded up. | |
getName ( ) : string | ||
getPeerList ( boolean $forceFlush = false ) : array | Get a list of peers for a given channel | |
getPublicKey ( ) : |
||
getSupplier ( string $name, boolean $flush = false ) : |
Get a supplier | |
getURL ( ) : string | Get a random URL |
public createSupplier ( array $data ) : |
||
$data | array | |
Résultat |
public getAllSuppliers ( ) : array | ||
Résultat | array |
public getAllURLs ( boolean $doNotShuffle = false ) : array | ||
$doNotShuffle | boolean | |
Résultat | array |
public getAppropriatePeerSize ( integer $sizeOfList ) : integer | ||
$sizeOfList | integer | |
Résultat | integer |
public getPeerList ( boolean $forceFlush = false ) : array | ||
$forceFlush | boolean | |
Résultat | array |
public getPublicKey ( ) : |
||
Résultat |
public getSupplier ( string $name, boolean $flush = false ) : |
||
$name | string | |
$flush | boolean | |
Résultat |
protected Continuum|Keyggdrasil $parent | ||
Résultat | Continuum | Keyggdrasil |
protected SignaturePublicKey,ParagonIE\Halite\Asymmetric $publicKey | ||
Résultat |