public class HeartbeatResponse extends Acknowledgement
| Constructor and Description |
|---|
HeartbeatResponse() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClockchain()
Gets the public key of the clockchain.
|
String |
getLatestTick()
Gets the hash of the latest tick block on the clockchain.
|
String |
getMerchantPk()
Gets the public key for the merchant's blockchain.
|
Date |
getTimestamp()
Returns the timestamp on the server at the time the heartbeat request was processed.
|
void |
setClockchain(String clockchain)
Sets the public key of the clockchain.
|
void |
setLatestTick(String latestTick)
Sets the hash of the latest tick block on the clockchain.
|
void |
setMerchantPk(String merchantPk)
Sets the public key of the merchant's blockchain.
|
void |
setTimestamp(Date timestamp)
Sets the timestamp.
|
getError, isSuccess, setError, setSuccesspublic Date getTimestamp()
public void setTimestamp(Date timestamp)
timestamp - java.util.Datepublic String getLatestTick()
public void setLatestTick(String latestTick)
latestTick - tick block hash.public String getClockchain()
public void setClockchain(String clockchain)
clockchain - Base58 encoded and compressed ECC public key.public String getMerchantPk()
public void setMerchantPk(String merchantPk)
merchantPk - Base58 encoded and compressed ECC public key.Copyright © 2019 BlockChyp, Inc.. All rights reserved.