public class RequestBootstrap extends RpcRequest<ResponseSuccessful>
bootstrap
, and returns a ResponseSuccessful
data object.Constructor | Description |
---|---|
RequestBootstrap(String peerAddress,
int peerPort) |
|
RequestBootstrap(String peerAddress,
int peerPort,
Boolean bypassFrontierConfirmation) |
|
RequestBootstrap(String peerAddress,
int peerPort,
Boolean bypassFrontierConfirmation,
String trackingId) |
Modifier and Type | Method | Description |
---|---|---|
Boolean |
getBypassFrontierConfirmation() |
|
String |
getPeerAddress() |
|
int |
getPeerPort() |
|
String |
getTrackingId() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getActionCommand, getResponseClass, toString
public RequestBootstrap(String peerAddress, int peerPort)
peerAddress
- the IP address of the remote nodepeerPort
- the port of the remote nodepublic RequestBootstrap(String peerAddress, int peerPort, Boolean bypassFrontierConfirmation)
peerAddress
- the IP address of the remote nodepeerPort
- the port of the remote nodebypassFrontierConfirmation
- (optional) whether frontier confirmation should not be performedpublic RequestBootstrap(String peerAddress, int peerPort, Boolean bypassFrontierConfirmation, String trackingId)
peerAddress
- the IP address of the remote nodepeerPort
- the port of the remote nodebypassFrontierConfirmation
- (optional) whether frontier confirmation should not be performedtrackingId
- (optional) the tracking ID for this requestpublic String getPeerAddress()
public int getPeerPort()
public Boolean getBypassFrontierConfirmation()
public String getTrackingId()
Copyright © 2020. All rights reserved.