Uses of Class
org.ldk.structs.ErrorAction
-
Packages that use ErrorAction Package Description org.ldk.structs -
-
Uses of ErrorAction in org.ldk.structs
Subclasses of ErrorAction in org.ldk.structs Modifier and Type Class Description static classErrorAction.DisconnectPeerThe peer took some action which made us think they were useless.static classErrorAction.IgnoreAndLogThe peer did something harmless that we weren't able to meaningfully process.static classErrorAction.IgnoreDuplicateGossipThe peer provided us with a gossip message which we'd already seen.static classErrorAction.IgnoreErrorThe peer did something harmless that we weren't able to process, just log and ignorestatic classErrorAction.SendErrorMessageThe peer did something incorrect.static classErrorAction.SendWarningMessageThe peer did something incorrect.Fields in org.ldk.structs declared as ErrorAction Modifier and Type Field Description ErrorActionMessageSendEvent.HandleError. actionThe action which should be taken.Methods in org.ldk.structs that return ErrorAction Modifier and Type Method Description ErrorActionErrorAction. clone()Creates a copy of the ErrorActionstatic ErrorActionErrorAction. disconnect_peer(ErrorMessage msg)Utility method to constructs a new DisconnectPeer-variant ErrorActionErrorActionLightningError. get_action()The action which should be taken against the offending peer.static ErrorActionErrorAction. ignore_and_log(Level a)Utility method to constructs a new IgnoreAndLog-variant ErrorActionstatic ErrorActionErrorAction. ignore_duplicate_gossip()Utility method to constructs a new IgnoreDuplicateGossip-variant ErrorActionstatic ErrorActionErrorAction. ignore_error()Utility method to constructs a new IgnoreError-variant ErrorActionstatic ErrorActionErrorAction. send_error_message(ErrorMessage msg)Utility method to constructs a new SendErrorMessage-variant ErrorActionstatic ErrorActionErrorAction. send_warning_message(WarningMessage msg, Level log_level)Utility method to constructs a new SendWarningMessage-variant ErrorActionMethods in org.ldk.structs with parameters of type ErrorAction Modifier and Type Method Description static MessageSendEventMessageSendEvent. handle_error(byte[] node_id, ErrorAction action)Utility method to constructs a new HandleError-variant MessageSendEventstatic LightningErrorLightningError. of(String err_arg, ErrorAction action_arg)Constructs a new LightningError given each fieldvoidLightningError. set_action(ErrorAction val)The action which should be taken against the offending peer.
-