Package net.osslabz.lnd.dto
Class LnrpcSendCustomMessageRequest
java.lang.Object
net.osslabz.lnd.dto.LnrpcSendCustomMessageRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-07T12:03:34.958542131Z[Etc/UTC]")
public class LnrpcSendCustomMessageRequest
extends Object
LnrpcSendCustomMessageRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SERIALIZED_NAME_PEER
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_DATA
- See Also:
-
-
Constructor Details
-
LnrpcSendCustomMessageRequest
public LnrpcSendCustomMessageRequest()
-
-
Method Details
-
peer
-
getPeer
@Nullable public byte[] getPeer()Get peer- Returns:
- peer
-
setPeer
public void setPeer(byte[] peer) -
type
-
getType
Message type. This value needs to be in the custom range (>= 32768). To send a type < custom range, lnd needs to be compiled with the `dev` build tag, and the message type to override should be specified in lnd's experimental protocol configuration.- Returns:
- type
-
setType
-
data
-
getData
@Nullable public byte[] getData()Raw message data.- Returns:
- data
-
setData
public void setData(byte[] data) -
equals
-
hashCode
public int hashCode() -
toString
-