public class ParametersUpdateInfo
Data class containing information about the scheduled network parameters update. The info is emitted every time node
receives network map with ParametersUpdate which wasn't seen before. For more information see: CordaRPCOps.networkParametersFeed
and CordaRPCOps.acceptNewNetworkParameters
.
Constructor and Description |
---|
ParametersUpdateInfo(SecureHash hash,
NetworkParameters parameters,
java.lang.String description,
java.time.Instant updateDeadline)
Data class containing information about the scheduled network parameters update. The info is emitted every time node
receives network map with ParametersUpdate which wasn't seen before. For more information see:
CordaRPCOps.networkParametersFeed
and CordaRPCOps.acceptNewNetworkParameters . |
Modifier and Type | Method and Description |
---|---|
SecureHash |
component1()
new
|
NetworkParameters |
component2()
new
|
java.lang.String |
component3()
description of the update
|
java.time.Instant |
component4()
deadline for accepting this update using
|
ParametersUpdateInfo |
copy(SecureHash hash,
NetworkParameters parameters,
java.lang.String description,
java.time.Instant updateDeadline)
Data class containing information about the scheduled network parameters update. The info is emitted every time node
receives network map with ParametersUpdate which wasn't seen before. For more information see:
CordaRPCOps.networkParametersFeed
and CordaRPCOps.acceptNewNetworkParameters . |
boolean |
equals(java.lang.Object p) |
java.lang.String |
getDescription()
description of the update
|
SecureHash |
getHash()
new
|
NetworkParameters |
getParameters()
new
|
java.time.Instant |
getUpdateDeadline()
deadline for accepting this update using
|
int |
hashCode() |
java.lang.String |
toString() |
public ParametersUpdateInfo(SecureHash hash, NetworkParameters parameters, java.lang.String description, java.time.Instant updateDeadline)
Data class containing information about the scheduled network parameters update. The info is emitted every time node
receives network map with ParametersUpdate which wasn't seen before. For more information see: CordaRPCOps.networkParametersFeed
and CordaRPCOps.acceptNewNetworkParameters
.
hash
- new class NetworkParameters
hashparameters
- new class NetworkParameters
data structuredescription
- description of the updateupdateDeadline
- deadline for accepting this update using CordaRPCOps.acceptNewNetworkParameters
CordaRPCOps.networkParametersFeed
,
CordaRPCOps.acceptNewNetworkParameters
public SecureHash getHash()
new
class NetworkParameters
public NetworkParameters getParameters()
new
class NetworkParameters
data structure
class NetworkParameters
public java.lang.String getDescription()
description of the update
public java.time.Instant getUpdateDeadline()
deadline for accepting this update using
CordaRPCOps.acceptNewNetworkParameters
public SecureHash component1()
new
class NetworkParameters
public NetworkParameters component2()
new
class NetworkParameters
data structure
class NetworkParameters
public java.lang.String component3()
description of the update
public java.time.Instant component4()
deadline for accepting this update using
CordaRPCOps.acceptNewNetworkParameters
public ParametersUpdateInfo copy(SecureHash hash, NetworkParameters parameters, java.lang.String description, java.time.Instant updateDeadline)
Data class containing information about the scheduled network parameters update. The info is emitted every time node
receives network map with ParametersUpdate which wasn't seen before. For more information see: CordaRPCOps.networkParametersFeed
and CordaRPCOps.acceptNewNetworkParameters
.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)