Skip to content

Commit

Permalink
fix: decalre new jni methods
Browse files Browse the repository at this point in the history
  • Loading branch information
scrocquesel committed Oct 3, 2023
1 parent 1e4a58b commit 28d7182
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,12 @@ public void registerAwsCrtJniRuntimeAccessBuildItem(
jniRuntimeAccessMethod.produce(new JniRuntimeAccessMethodBuildItem(
"software.amazon.awssdk.crt.mqtt.MqttClientConnection", "onWebsocketHandshake",
"software.amazon.awssdk.crt.http.HttpRequest", "long"));
jniRuntimeAccessMethod.produce(new JniRuntimeAccessMethodBuildItem(
"software.amazon.awssdk.crt.mqtt.MqttClientConnection", "onConnectionSuccess",
"boolean"));
jniRuntimeAccessMethod.produce(new JniRuntimeAccessMethodBuildItem(
"software.amazon.awssdk.crt.mqtt.MqttClientConnection", "onConnectionFailure",
"int"));
jniRuntimeAccessMethod.produce(new JniRuntimeAccessMethodBuildItem(
"software.amazon.awssdk.crt.mqtt.MqttClientConnection$MessageHandler", "deliver",
"java.lang.String", "byte[]", "boolean", "int", "boolean"));
Expand Down

0 comments on commit 28d7182

Please sign in to comment.