Class GroupServiceImpl

java.lang.Object
org.fisco.bcos.sdk.service.GroupServiceImpl
All Implemented Interfaces:
GroupService

public class GroupServiceImpl
extends java.lang.Object
implements GroupService
  • Constructor Summary

    Constructors 
    Constructor Description
    GroupServiceImpl​(java.lang.Integer groupId)  
    GroupServiceImpl​(java.lang.Integer groupId, java.lang.String groupNodeAddress)  
  • Method Summary

    Modifier and Type Method Description
    boolean existPeer​(java.lang.String peer)  
    java.util.Set<java.lang.String> getGroupNodesInfo()
    Get the node information of the group
    java.math.BigInteger getLatestBlockNumber()  
    java.lang.String getNodeWithTheLatestBlockNumber()  
    boolean insertNode​(java.lang.String nodeAddress)
    add nodeInfo to the group
    boolean removeNode​(java.lang.String nodeAddress)
    remove node from the group
    void updatePeersBlockNumberInfo​(java.lang.String peerIpAndPort, java.math.BigInteger blockNumber)
    update the latest block number of the specified group

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait