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 class
ErrorAction.DisconnectPeer
The peer took some action which made us think they were useless.static class
ErrorAction.IgnoreAndLog
The peer did something harmless that we weren't able to meaningfully process.static class
ErrorAction.IgnoreDuplicateGossip
The peer provided us with a gossip message which we'd already seen.static class
ErrorAction.IgnoreError
The peer did something harmless that we weren't able to process, just log and ignorestatic class
ErrorAction.SendErrorMessage
The peer did something incorrect.static class
ErrorAction.SendWarningMessage
The peer did something incorrect.Fields in org.ldk.structs declared as ErrorAction Modifier and Type Field Description ErrorAction
MessageSendEvent.HandleError. action
The action which should be taken.Methods in org.ldk.structs that return ErrorAction Modifier and Type Method Description ErrorAction
ErrorAction. clone()
Creates a copy of the ErrorActionstatic ErrorAction
ErrorAction. disconnect_peer(ErrorMessage msg)
Utility method to constructs a new DisconnectPeer-variant ErrorActionErrorAction
LightningError. get_action()
The action which should be taken against the offending peer.static ErrorAction
ErrorAction. ignore_and_log(Level a)
Utility method to constructs a new IgnoreAndLog-variant ErrorActionstatic ErrorAction
ErrorAction. ignore_duplicate_gossip()
Utility method to constructs a new IgnoreDuplicateGossip-variant ErrorActionstatic ErrorAction
ErrorAction. ignore_error()
Utility method to constructs a new IgnoreError-variant ErrorActionstatic ErrorAction
ErrorAction. send_error_message(ErrorMessage msg)
Utility method to constructs a new SendErrorMessage-variant ErrorActionstatic ErrorAction
ErrorAction. 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 MessageSendEvent
MessageSendEvent. handle_error(byte[] node_id, ErrorAction action)
Utility method to constructs a new HandleError-variant MessageSendEventstatic LightningError
LightningError. of(String err_arg, ErrorAction action_arg)
Constructs a new LightningError given each fieldvoid
LightningError. set_action(ErrorAction val)
The action which should be taken against the offending peer.
-