All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dianduiot.vttp.VttpHeartbeat Maven / Gradle / Ivy

package com.github.dianduiot.vttp;

public class VttpHeartbeat {
    public static final String HEARTBEAT_ATTR_KEY = "HB";

    private long lastReceivedTs;
    private int sendCd;
    private int cycle;

    public long getLastReceivedTs() {
        return lastReceivedTs;
    }

    public void setLastReceivedTs(long lastReceivedTs) {
        this.lastReceivedTs = lastReceivedTs;
    }

    public int getSendCd() {
        return sendCd;
    }

    public void setSendCd(int sendCd) {
        this.sendCd = sendCd;
    }

    public int getCycle() {
        return cycle;
    }

    public void setCycle(int cycle) {
        this.cycle = cycle;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy