XdrTimeSlicedNodeData
in package
Table of Contents
Properties
- $addedAuthenticatedPeers : int
- $droppedAuthenticatedPeers : int
- $isValidator : bool
- $lostSyncCount : int
- $maxInboundPeerCount : int
- $maxOutboundPeerCount : int
- $p75SCPFirstToSelfLatencyMs : int
- $p75SCPSelfToOtherLatencyMs : int
- $totalInboundPeerCount : int
- $totalOutboundPeerCount : int
Methods
- __construct() : mixed
- decode() : XdrTimeSlicedNodeData
- encode() : string
- fromBase64Xdr() : static
- fromJson() : static
- fromJsonValue() : static
- getAddedAuthenticatedPeers() : int
- getDroppedAuthenticatedPeers() : int
- getLostSyncCount() : int
- getMaxInboundPeerCount() : int
- getMaxOutboundPeerCount() : int
- getP75SCPFirstToSelfLatencyMs() : int
- getP75SCPSelfToOtherLatencyMs() : int
- getTotalInboundPeerCount() : int
- getTotalOutboundPeerCount() : int
- isValidator() : bool
- setAddedAuthenticatedPeers() : void
- setDroppedAuthenticatedPeers() : void
- setIsValidator() : void
- setLostSyncCount() : void
- setMaxInboundPeerCount() : void
- setMaxOutboundPeerCount() : void
- setP75SCPFirstToSelfLatencyMs() : void
- setP75SCPSelfToOtherLatencyMs() : void
- setTotalInboundPeerCount() : void
- setTotalOutboundPeerCount() : void
- toBase64Xdr() : string
- toJson() : string
- toJsonValue() : array<string|int, mixed>
Properties
$addedAuthenticatedPeers
public
int
$addedAuthenticatedPeers
$droppedAuthenticatedPeers
public
int
$droppedAuthenticatedPeers
$isValidator
public
bool
$isValidator
$lostSyncCount
public
int
$lostSyncCount
$maxInboundPeerCount
public
int
$maxInboundPeerCount
$maxOutboundPeerCount
public
int
$maxOutboundPeerCount
$p75SCPFirstToSelfLatencyMs
public
int
$p75SCPFirstToSelfLatencyMs
$p75SCPSelfToOtherLatencyMs
public
int
$p75SCPSelfToOtherLatencyMs
$totalInboundPeerCount
public
int
$totalInboundPeerCount
$totalOutboundPeerCount
public
int
$totalOutboundPeerCount
Methods
__construct()
public
__construct(int $addedAuthenticatedPeers, int $droppedAuthenticatedPeers, int $totalInboundPeerCount, int $totalOutboundPeerCount, int $p75SCPFirstToSelfLatencyMs, int $p75SCPSelfToOtherLatencyMs, int $lostSyncCount, bool $isValidator, int $maxInboundPeerCount, int $maxOutboundPeerCount) : mixed
Parameters
- $addedAuthenticatedPeers : int
- $droppedAuthenticatedPeers : int
- $totalInboundPeerCount : int
- $totalOutboundPeerCount : int
- $p75SCPFirstToSelfLatencyMs : int
- $p75SCPSelfToOtherLatencyMs : int
- $lostSyncCount : int
- $isValidator : bool
- $maxInboundPeerCount : int
- $maxOutboundPeerCount : int
decode()
public
static decode(XdrBuffer $xdr) : XdrTimeSlicedNodeData
Parameters
- $xdr : XdrBuffer
Return values
XdrTimeSlicedNodeDataencode()
public
encode() : string
Return values
stringfromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
- $xdr : string
Return values
staticfromJson()
public
static fromJson(string $json) : static
Parameters
- $json : string
Tags
Return values
staticfromJsonValue()
public
static fromJsonValue(mixed $value) : static
Parameters
- $value : mixed
Return values
staticgetAddedAuthenticatedPeers()
public
getAddedAuthenticatedPeers() : int
Return values
intgetDroppedAuthenticatedPeers()
public
getDroppedAuthenticatedPeers() : int
Return values
intgetLostSyncCount()
public
getLostSyncCount() : int
Return values
intgetMaxInboundPeerCount()
public
getMaxInboundPeerCount() : int
Return values
intgetMaxOutboundPeerCount()
public
getMaxOutboundPeerCount() : int
Return values
intgetP75SCPFirstToSelfLatencyMs()
public
getP75SCPFirstToSelfLatencyMs() : int
Return values
intgetP75SCPSelfToOtherLatencyMs()
public
getP75SCPSelfToOtherLatencyMs() : int
Return values
intgetTotalInboundPeerCount()
public
getTotalInboundPeerCount() : int
Return values
intgetTotalOutboundPeerCount()
public
getTotalOutboundPeerCount() : int
Return values
intisValidator()
public
isValidator() : bool
Return values
boolsetAddedAuthenticatedPeers()
public
setAddedAuthenticatedPeers(int $addedAuthenticatedPeers) : void
Parameters
- $addedAuthenticatedPeers : int
setDroppedAuthenticatedPeers()
public
setDroppedAuthenticatedPeers(int $droppedAuthenticatedPeers) : void
Parameters
- $droppedAuthenticatedPeers : int
setIsValidator()
public
setIsValidator(bool $isValidator) : void
Parameters
- $isValidator : bool
setLostSyncCount()
public
setLostSyncCount(int $lostSyncCount) : void
Parameters
- $lostSyncCount : int
setMaxInboundPeerCount()
public
setMaxInboundPeerCount(int $maxInboundPeerCount) : void
Parameters
- $maxInboundPeerCount : int
setMaxOutboundPeerCount()
public
setMaxOutboundPeerCount(int $maxOutboundPeerCount) : void
Parameters
- $maxOutboundPeerCount : int
setP75SCPFirstToSelfLatencyMs()
public
setP75SCPFirstToSelfLatencyMs(int $p75SCPFirstToSelfLatencyMs) : void
Parameters
- $p75SCPFirstToSelfLatencyMs : int
setP75SCPSelfToOtherLatencyMs()
public
setP75SCPSelfToOtherLatencyMs(int $p75SCPSelfToOtherLatencyMs) : void
Parameters
- $p75SCPSelfToOtherLatencyMs : int
setTotalInboundPeerCount()
public
setTotalInboundPeerCount(int $totalInboundPeerCount) : void
Parameters
- $totalInboundPeerCount : int
setTotalOutboundPeerCount()
public
setTotalOutboundPeerCount(int $totalOutboundPeerCount) : void
Parameters
- $totalOutboundPeerCount : int
toBase64Xdr()
public
toBase64Xdr() : string
Return values
stringtoJson()
public
toJson() : string
Tags
Return values
stringtoJsonValue()
public
toJsonValue() : array<string|int, mixed>