Package org.ldk.structs
Interface CustomOnionMessageHandler.CustomOnionMessageHandlerInterface
-
- Enclosing class:
- CustomOnionMessageHandler
public static interface CustomOnionMessageHandler.CustomOnionMessageHandlerInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle_custom_message(CustomOnionMessageContents msg)
Called with the custom message that was received.Result_COption_CustomOnionMessageContentsZDecodeErrorZ
read_custom_message(long message_type, byte[] buffer)
Read a custom message of type `message_type` from `buffer`, returning `Ok(None)` if the message type is unknown.
-
-
-
Method Detail
-
handle_custom_message
void handle_custom_message(CustomOnionMessageContents msg)
Called with the custom message that was received.
-
read_custom_message
Result_COption_CustomOnionMessageContentsZDecodeErrorZ read_custom_message(long message_type, byte[] buffer)
Read a custom message of type `message_type` from `buffer`, returning `Ok(None)` if the message type is unknown.
-
-