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

com.jd.blockchain.transaction.EventData Maven / Gradle / Ivy

There is a newer version: 1.6.5.RELEASE
Show newest version
package com.jd.blockchain.transaction;

import com.jd.blockchain.ledger.BytesValue;
import com.jd.blockchain.ledger.EventPublishOperation;

public class EventData implements EventPublishOperation.EventEntry {

    private String name;

    private BytesValue content;

    private long sequence;

    public EventData(String name, BytesValue content, long sequence) {
        this.name = name;
        this.content = content;
        this.sequence = sequence;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public BytesValue getContent() {
        return content;
    }

    @Override
    public long getSequence() {
        return sequence;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy