Package org.ldk.structs
Class ErrorAction.SendWarningMessage
- java.lang.Object
-
- org.ldk.structs.ErrorAction
-
- org.ldk.structs.ErrorAction.SendWarningMessage
-
- Enclosing class:
- ErrorAction
public static final class ErrorAction.SendWarningMessage extends ErrorAction
The peer did something incorrect. Tell them without closing any channels.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldk.structs.ErrorAction
ErrorAction.DisconnectPeer, ErrorAction.IgnoreAndLog, ErrorAction.IgnoreDuplicateGossip, ErrorAction.IgnoreError, ErrorAction.SendErrorMessage, ErrorAction.SendWarningMessage
-
-
Field Summary
Fields Modifier and Type Field Description Level
log_level
The peer may have done something harmless that we weren't able to meaningfully process, though we should still tell them about it.WarningMessage
msg
The message to send.
-
Method Summary
-
Methods inherited from class org.ldk.structs.ErrorAction
clone, disconnect_peer, finalize, ignore_and_log, ignore_duplicate_gossip, ignore_error, send_error_message, send_warning_message
-
-
-
-
Field Detail
-
msg
public final WarningMessage msg
The message to send.
-
log_level
public final Level log_level
The peer may have done something harmless that we weren't able to meaningfully process, though we should still tell them about it. If this event is logged, log it at the given level.
-
-