Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic client callback registration #204

Merged
merged 3 commits into from
Nov 8, 2022

Conversation

fw2568
Copy link
Contributor

@fw2568 fw2568 commented Nov 8, 2022

Implemented client side function handler registration.
With this PR clients can register function handlers either from a known function (metadata lookup from backend) or by building function metadata at runtime.
The function handlers can be registered in the ConnectionBuilder (method WithFunctionHandler) .
Refactored WithStartProgramCallback of ConnectionBuilder to build RFC_START_PROGRAM as function handler.

AllowStartOfProgram methods on RFcRuntime and Connection are obsolete now and should be removed with next major release.

refactored WithStartProgramCallback to build RFC_START_PROGRAM as FunctionHandler and allows to register any function as client callback function.
@fw2568 fw2568 added the enhancement New feature or request label Nov 8, 2022
@fw2568 fw2568 added this to the Minor Release 4.3 milestone Nov 8, 2022
@fw2568 fw2568 merged commit 8c877b5 into main Nov 8, 2022
@fw2568 fw2568 deleted the pull/refactored_startprogramcallback branch November 8, 2022 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant