Package org.ldk.structs
Class ProbeSendFailure
- java.lang.Object
-
- org.ldk.structs.ProbeSendFailure
-
- Direct Known Subclasses:
ProbeSendFailure.RouteNotFound,ProbeSendFailure.SendingFailed
public class ProbeSendFailure extends Object
Indicates that we failed to send a payment probe. Further errors may be surfaced later via [`Event::ProbeFailed`]. [`Event::ProbeFailed`]: crate::events::Event::ProbeFailed
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProbeSendFailure.RouteNotFoundWe were unable to find a route to the destination.static classProbeSendFailure.SendingFailedWe failed to send the payment probes.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProbeSendFailureclone()Creates a copy of the ProbeSendFailurebooleaneq(ProbeSendFailure b)Checks if two ProbeSendFailures contain equal inner contents.booleanequals(Object o)protected voidfinalize()static ProbeSendFailureroute_not_found()Utility method to constructs a new RouteNotFound-variant ProbeSendFailurestatic ProbeSendFailuresending_failed(PaymentSendFailure a)Utility method to constructs a new SendingFailed-variant ProbeSendFailure
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
clone
public ProbeSendFailure clone()
Creates a copy of the ProbeSendFailure
-
route_not_found
public static ProbeSendFailure route_not_found()
Utility method to constructs a new RouteNotFound-variant ProbeSendFailure
-
sending_failed
public static ProbeSendFailure sending_failed(PaymentSendFailure a)
Utility method to constructs a new SendingFailed-variant ProbeSendFailure
-
eq
public boolean eq(ProbeSendFailure b)
Checks if two ProbeSendFailures contain equal inner contents. This ignores pointers and is_owned flags and looks at the values in fields.
-
-