Modifier and Type | Interface and Description |
---|---|
static class |
Peer.BlockchainState |
static class |
Peer.Service |
static class |
Peer.State |
Modifier and Type | Method and Description |
---|---|
void |
blacklist(java.lang.Exception cause) |
void |
blacklist(java.lang.String cause) |
void |
deactivate() |
java.lang.String |
getAnnouncedAddress() |
int |
getApiPort() |
int |
getApiServerIdleTimeout() |
int |
getApiSSLPort() |
java.lang.String |
getApplication() |
java.lang.String |
getBlacklistingCause() |
Peer.BlockchainState |
getBlockchainState() |
java.util.Set<APIEnum> |
getDisabledAPIs() |
long |
getDownloadedVolume() |
Hallmark |
getHallmark() |
java.lang.String |
getHost() |
int |
getLastConnectAttempt() |
int |
getLastUpdated() |
java.lang.StringBuilder |
getPeerApiUri() |
java.lang.String |
getPlatform() |
int |
getPort() |
java.lang.String |
getSoftware() |
Peer.State |
getState() |
long |
getUploadedVolume() |
java.lang.String |
getVersion() |
int |
getWeight() |
boolean |
isApiConnectable() |
boolean |
isBlacklisted() |
boolean |
isInbound() |
boolean |
isInboundWebSocket() |
boolean |
isOpenAPI() |
boolean |
isOutboundWebSocket() |
boolean |
providesService(Peer.Service service) |
boolean |
providesServices(long services) |
void |
remove() |
org.json.simple.JSONObject |
send(org.json.simple.JSONStreamAware request) |
org.json.simple.JSONObject |
send(org.json.simple.JSONStreamAware request,
int maxResponseSize) |
boolean |
shareAddress() |
void |
unBlacklist() |
boolean providesService(Peer.Service service)
boolean providesServices(long services)
java.lang.String getHost()
int getPort()
java.lang.String getAnnouncedAddress()
Peer.State getState()
java.lang.String getVersion()
java.lang.String getApplication()
java.lang.String getPlatform()
java.lang.String getSoftware()
int getApiPort()
int getApiSSLPort()
java.util.Set<APIEnum> getDisabledAPIs()
int getApiServerIdleTimeout()
Peer.BlockchainState getBlockchainState()
Hallmark getHallmark()
int getWeight()
boolean shareAddress()
boolean isBlacklisted()
void blacklist(java.lang.Exception cause)
void blacklist(java.lang.String cause)
void unBlacklist()
void deactivate()
void remove()
long getDownloadedVolume()
long getUploadedVolume()
int getLastUpdated()
int getLastConnectAttempt()
boolean isInbound()
boolean isInboundWebSocket()
boolean isOutboundWebSocket()
boolean isOpenAPI()
boolean isApiConnectable()
java.lang.StringBuilder getPeerApiUri()
java.lang.String getBlacklistingCause()
org.json.simple.JSONObject send(org.json.simple.JSONStreamAware request)
org.json.simple.JSONObject send(org.json.simple.JSONStreamAware request, int maxResponseSize)