public static interface LightningApi.ConnectPeerRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
LightningApi.LightningAddress |
getAddr()
Lightning address of the peer to connect to.
|
LightningApi.LightningAddressOrBuilder |
getAddrOrBuilder()
Lightning address of the peer to connect to.
|
boolean |
getPerm()
If set, the daemon will attempt to persistently connect to the target
peer.
|
long |
getTimeout()
The connection timeout value (in seconds) for this request.
|
boolean |
hasAddr()
Lightning address of the peer to connect to.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasAddr()
Lightning address of the peer to connect to.
.lnrpc.LightningAddress addr = 1;
LightningApi.LightningAddress getAddr()
Lightning address of the peer to connect to.
.lnrpc.LightningAddress addr = 1;
LightningApi.LightningAddressOrBuilder getAddrOrBuilder()
Lightning address of the peer to connect to.
.lnrpc.LightningAddress addr = 1;
boolean getPerm()
If set, the daemon will attempt to persistently connect to the target peer. Otherwise, the call will be synchronous.
bool perm = 2;
long getTimeout()
The connection timeout value (in seconds) for this request. It won't affect other requests.
uint64 timeout = 3;