Package org.ldk.structs
Class NodeAlias
- java.lang.Object
-
- org.ldk.structs.NodeAlias
-
public class NodeAlias extends Object
A user-defined name for a node, which may be used when displaying the node in a graph. Since node aliases are provided by third parties, they are a potential avenue for injection attacks. Care must be taken when processing.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeAliasclone()Creates a copy of the NodeAliasprotected voidfinalize()byte[]get_a()static NodeAliasof(byte[] a_arg)Constructs a new NodeAlias given each fieldstatic Result_NodeAliasDecodeErrorZread(byte[] ser)Read a NodeAlias from a byte array, created by NodeAlias_writevoidset_a(byte[] val)byte[]write()Serialize the NodeAlias object into a byte array which can be read by NodeAlias_read
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
get_a
public byte[] get_a()
-
set_a
public void set_a(byte[] val)
-
of
public static NodeAlias of(byte[] a_arg)
Constructs a new NodeAlias given each field
-
write
public byte[] write()
Serialize the NodeAlias object into a byte array which can be read by NodeAlias_read
-
read
public static Result_NodeAliasDecodeErrorZ read(byte[] ser)
Read a NodeAlias from a byte array, created by NodeAlias_write
-
-