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

com.jd.blockchain.consensus.Client Maven / Gradle / Ivy

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

import java.io.Closeable;

import com.jd.blockchain.consensus.MessageService;

public interface Client extends Closeable {

	/**
	 * 是否已连接;
	 * 
	 * @return
	 */
	boolean isConnected();

	/**
	 * 接入共识网络;
	 */
	void connect();

	/**
	 * 断开与共识网络的连接;
	 */
	@Override
	void close();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy