PeerNode
Table of Contents
- $addr : string|null
- IP address and ports at which this node can be reached.
- $nodeID : string|null
- Unique identifier of for this node in the swarm.
- getAddr() : string|null
- IP address and ports at which this node can be reached.
- getNodeID() : string|null
- Unique identifier of for this node in the swarm.
- setAddr() : self
- IP address and ports at which this node can be reached.
- setNodeID() : self
- Unique identifier of for this node in the swarm.
Properties
$addr
IP address and ports at which this node can be reached.
protected
string|null
$addr
$nodeID
Unique identifier of for this node in the swarm.
protected
string|null
$nodeID
Methods
getAddr()
IP address and ports at which this node can be reached.
public
getAddr() : string|null
Return values
string|null —getNodeID()
Unique identifier of for this node in the swarm.
public
getNodeID() : string|null
Return values
string|null —setAddr()
IP address and ports at which this node can be reached.
public
setAddr(string|null $addr) : self
Parameters
- $addr : string|null
Return values
self —setNodeID()
Unique identifier of for this node in the swarm.
public
setNodeID(string|null $nodeID) : self
Parameters
- $nodeID : string|null