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 ErrorMessageErrorAction.DisconnectPeer. msgAn error message which we should make an effort to send before we disconnect.ErrorMessageErrorAction.SendErrorMessage. msgThe message to send.ErrorMessageResult_ErrorMessageDecodeErrorZ.Result_ErrorMessageDecodeErrorZ_OK. resMethods in org.ldk.structs that return ErrorMessage Modifier and Type Method Description ErrorMessageErrorMessage. clone()Creates a copy of the ErrorMessagestatic ErrorMessageErrorMessage. 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 ErrorActionErrorAction. disconnect_peer(ErrorMessage msg)Utility method to constructs a new DisconnectPeer-variant ErrorActionvoidChannelMessageHandler.ChannelMessageHandlerInterface. handle_error(byte[] their_node_id, ErrorMessage msg)Handle an incoming error message from the given peer.voidChannelMessageHandler. handle_error(byte[] their_node_id, ErrorMessage msg)Handle an incoming error message from the given peer.static Result_ErrorMessageDecodeErrorZResult_ErrorMessageDecodeErrorZ. ok(ErrorMessage o)Creates a new CResult_ErrorMessageDecodeErrorZ in the success state.static ErrorActionErrorAction. send_error_message(ErrorMessage msg)Utility method to constructs a new SendErrorMessage-variant ErrorAction
-