Package org.ldk.structs
Class IgnoringMessageHandler
- java.lang.Object
-
- org.ldk.structs.IgnoringMessageHandler
-
public class IgnoringMessageHandler extends Object
A dummy struct which implements `RoutingMessageHandler` without storing any routing information or doing any processing. You can provide one of these as the route_handler in a MessageHandler.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomMessageHandleras_CustomMessageHandler()Constructs a new CustomMessageHandler which calls the relevant methods on this_arg.CustomMessageReaderas_CustomMessageReader()Constructs a new CustomMessageReader which calls the relevant methods on this_arg.CustomOnionMessageHandleras_CustomOnionMessageHandler()Constructs a new CustomOnionMessageHandler which calls the relevant methods on this_arg.MessageSendEventsProvideras_MessageSendEventsProvider()Constructs a new MessageSendEventsProvider which calls the relevant methods on this_arg.OnionMessageHandleras_OnionMessageHandler()Constructs a new OnionMessageHandler which calls the relevant methods on this_arg.OnionMessageProvideras_OnionMessageProvider()Constructs a new OnionMessageProvider which calls the relevant methods on this_arg.RoutingMessageHandleras_RoutingMessageHandler()Constructs a new RoutingMessageHandler which calls the relevant methods on this_arg.protected voidfinalize()static IgnoringMessageHandlerof()Constructs a new IgnoringMessageHandler given each field
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
of
public static IgnoringMessageHandler of()
Constructs a new IgnoringMessageHandler given each field
-
as_MessageSendEventsProvider
public MessageSendEventsProvider as_MessageSendEventsProvider()
Constructs a new MessageSendEventsProvider which calls the relevant methods on this_arg. This copies the `inner` pointer in this_arg and thus the returned MessageSendEventsProvider must be freed before this_arg is
-
as_RoutingMessageHandler
public RoutingMessageHandler as_RoutingMessageHandler()
Constructs a new RoutingMessageHandler which calls the relevant methods on this_arg. This copies the `inner` pointer in this_arg and thus the returned RoutingMessageHandler must be freed before this_arg is
-
as_OnionMessageProvider
public OnionMessageProvider as_OnionMessageProvider()
Constructs a new OnionMessageProvider which calls the relevant methods on this_arg. This copies the `inner` pointer in this_arg and thus the returned OnionMessageProvider must be freed before this_arg is
-
as_OnionMessageHandler
public OnionMessageHandler as_OnionMessageHandler()
Constructs a new OnionMessageHandler which calls the relevant methods on this_arg. This copies the `inner` pointer in this_arg and thus the returned OnionMessageHandler must be freed before this_arg is
-
as_CustomOnionMessageHandler
public CustomOnionMessageHandler as_CustomOnionMessageHandler()
Constructs a new CustomOnionMessageHandler which calls the relevant methods on this_arg. This copies the `inner` pointer in this_arg and thus the returned CustomOnionMessageHandler must be freed before this_arg is
-
as_CustomMessageReader
public CustomMessageReader as_CustomMessageReader()
Constructs a new CustomMessageReader which calls the relevant methods on this_arg. This copies the `inner` pointer in this_arg and thus the returned CustomMessageReader must be freed before this_arg is
-
as_CustomMessageHandler
public CustomMessageHandler as_CustomMessageHandler()
Constructs a new CustomMessageHandler which calls the relevant methods on this_arg. This copies the `inner` pointer in this_arg and thus the returned CustomMessageHandler must be freed before this_arg is
-
-