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.DisconnectPeerstatic classErrorAction.IgnoreAndLogstatic classErrorAction.IgnoreErrorstatic classErrorAction.SendErrorMessageFields 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_error()Utility method to constructs a new IgnoreError-variant ErrorActionstatic ErrorActionErrorAction. send_error_message(ErrorMessage msg)Utility method to constructs a new SendErrorMessage-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.
-