public static interface Protocol.NodeInfo.PeerInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
double |
getAvgLatency()
double avgLatency = 12; |
int |
getBlockInPorcSize()
int32 blockInPorcSize = 17; |
long |
getConnectTime()
int64 connectTime = 11; |
int |
getDisconnectTimes()
int32 disconnectTimes = 23; |
long |
getHeadBlockTimeWeBothHave()
int64 headBlockTimeWeBothHave = 5; |
String |
getHeadBlockWeBothHave()
string headBlockWeBothHave = 18; |
com.google.protobuf.ByteString |
getHeadBlockWeBothHaveBytes()
string headBlockWeBothHave = 18; |
String |
getHost()
string host = 8; |
com.google.protobuf.ByteString |
getHostBytes()
string host = 8; |
long |
getInFlow()
int64 inFlow = 22; |
boolean |
getIsActive()
bool isActive = 19; |
long |
getLastBlockUpdateTime()
int64 lastBlockUpdateTime = 3; |
String |
getLastSyncBlock()
string lastSyncBlock = 1; |
com.google.protobuf.ByteString |
getLastSyncBlockBytes()
string lastSyncBlock = 1; |
String |
getLocalDisconnectReason()
string localDisconnectReason = 24; |
com.google.protobuf.ByteString |
getLocalDisconnectReasonBytes()
string localDisconnectReason = 24; |
boolean |
getNeedSyncFromPeer()
bool needSyncFromPeer = 6; |
boolean |
getNeedSyncFromUs()
bool needSyncFromUs = 7; |
int |
getNodeCount()
int32 nodeCount = 21; |
String |
getNodeId()
string nodeId = 10; |
com.google.protobuf.ByteString |
getNodeIdBytes()
string nodeId = 10; |
int |
getPort()
int32 port = 9; |
long |
getRemainNum()
int64 remainNum = 2; |
String |
getRemoteDisconnectReason()
string remoteDisconnectReason = 25; |
com.google.protobuf.ByteString |
getRemoteDisconnectReasonBytes()
string remoteDisconnectReason = 25; |
int |
getScore()
int32 score = 20; |
int |
getSyncBlockRequestedSize()
int32 syncBlockRequestedSize = 15; |
boolean |
getSyncFlag()
bool syncFlag = 4; |
int |
getSyncToFetchSize()
int32 syncToFetchSize = 13; |
long |
getSyncToFetchSizePeekNum()
int64 syncToFetchSizePeekNum = 14; |
long |
getUnFetchSynNum()
int64 unFetchSynNum = 16; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getLastSyncBlock()
string lastSyncBlock = 1;
com.google.protobuf.ByteString getLastSyncBlockBytes()
string lastSyncBlock = 1;
long getRemainNum()
int64 remainNum = 2;
long getLastBlockUpdateTime()
int64 lastBlockUpdateTime = 3;
boolean getSyncFlag()
bool syncFlag = 4;
long getHeadBlockTimeWeBothHave()
int64 headBlockTimeWeBothHave = 5;
boolean getNeedSyncFromPeer()
bool needSyncFromPeer = 6;
boolean getNeedSyncFromUs()
bool needSyncFromUs = 7;
String getHost()
string host = 8;
com.google.protobuf.ByteString getHostBytes()
string host = 8;
int getPort()
int32 port = 9;
String getNodeId()
string nodeId = 10;
com.google.protobuf.ByteString getNodeIdBytes()
string nodeId = 10;
long getConnectTime()
int64 connectTime = 11;
double getAvgLatency()
double avgLatency = 12;
int getSyncToFetchSize()
int32 syncToFetchSize = 13;
long getSyncToFetchSizePeekNum()
int64 syncToFetchSizePeekNum = 14;
int getSyncBlockRequestedSize()
int32 syncBlockRequestedSize = 15;
long getUnFetchSynNum()
int64 unFetchSynNum = 16;
int getBlockInPorcSize()
int32 blockInPorcSize = 17;
String getHeadBlockWeBothHave()
string headBlockWeBothHave = 18;
com.google.protobuf.ByteString getHeadBlockWeBothHaveBytes()
string headBlockWeBothHave = 18;
boolean getIsActive()
bool isActive = 19;
int getScore()
int32 score = 20;
int getNodeCount()
int32 nodeCount = 21;
long getInFlow()
int64 inFlow = 22;
int getDisconnectTimes()
int32 disconnectTimes = 23;
String getLocalDisconnectReason()
string localDisconnectReason = 24;
com.google.protobuf.ByteString getLocalDisconnectReasonBytes()
string localDisconnectReason = 24;
String getRemoteDisconnectReason()
string remoteDisconnectReason = 25;
com.google.protobuf.ByteString getRemoteDisconnectReasonBytes()
string remoteDisconnectReason = 25;
Copyright © 2020. All rights reserved.