Uses of Class
org.ldk.structs.ErrorMessage
-
Packages that use ErrorMessage Package Description org.ldk.structs -
-
Uses of ErrorMessage in org.ldk.structs
Fields in org.ldk.structs declared as ErrorMessage Modifier and Type Field Description ErrorMessage
ErrorAction.DisconnectPeer. msg
An error message which we should make an effort to send before we disconnect.ErrorMessage
ErrorAction.SendErrorMessage. msg
The message to send.ErrorMessage
Result_ErrorMessageDecodeErrorZ.Result_ErrorMessageDecodeErrorZ_OK. res
Methods in org.ldk.structs that return ErrorMessage Modifier and Type Method Description ErrorMessage
ErrorMessage. clone()
Creates a copy of the ErrorMessagestatic ErrorMessage
ErrorMessage. of(byte[] channel_id_arg, String data_arg)
Constructs a new ErrorMessage given each fieldMethods in org.ldk.structs with parameters of type ErrorMessage Modifier and Type Method Description static ErrorAction
ErrorAction. disconnect_peer(ErrorMessage msg)
Utility method to constructs a new DisconnectPeer-variant ErrorActionvoid
ChannelMessageHandler.ChannelMessageHandlerInterface. handle_error(byte[] their_node_id, ErrorMessage msg)
Handle an incoming error message from the given peer.void
ChannelMessageHandler. handle_error(byte[] their_node_id, ErrorMessage msg)
Handle an incoming error message from the given peer.static Result_ErrorMessageDecodeErrorZ
Result_ErrorMessageDecodeErrorZ. ok(ErrorMessage o)
Creates a new CResult_ErrorMessageDecodeErrorZ in the success state.static ErrorAction
ErrorAction. send_error_message(ErrorMessage msg)
Utility method to constructs a new SendErrorMessage-variant ErrorAction
-