Property | Type | Description | |
---|---|---|---|
$ext | string | ||
$name | string | ||
$parent | Continuum | Keyggdrasil | ||
$peers | Peer[] | ||
$publicKey | |||
$urls | string[] |
Method | 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 | |
return |
public getAllSuppliers ( ) : array | ||
return | array |
public getAllURLs ( boolean $doNotShuffle = false ) : array | ||
$doNotShuffle | boolean | |
return | array |
public getAppropriatePeerSize ( integer $sizeOfList ) : integer | ||
$sizeOfList | integer | |
return | integer |
public getPeerList ( boolean $forceFlush = false ) : array | ||
$forceFlush | boolean | |
return | array |
public getPublicKey ( ) : |
||
return |
public getSupplier ( string $name, boolean $flush = false ) : |
||
$name | string | |
$flush | boolean | |
return |
protected Continuum|Keyggdrasil $parent | ||
return | Continuum | Keyggdrasil |
protected SignaturePublicKey,ParagonIE\Halite\Asymmetric $publicKey | ||
return |