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

Add a way to custom BootstrapHandler behavior at server side #669

Merged
merged 5 commits into from
Apr 2, 2019

Conversation

sbernard31
Copy link
Contributor

This PR allows to customize bootstrap server behavior like this:

builder.setBootstrapHandlerFactory(new BootstrapHandlerFactory() {
    
    @Override
    public BootstrapHandler create(BootstrapStore store, LwM2mBootstrapRequestSender sender,
            BootstrapSessionManager sessionManager) {
        return new MyBootstrapHandler(store, sender, sessionManager);
    }
})

@sbernard31 sbernard31 force-pushed the custom_bootstrap_handler branch from a1517bf to be20408 Compare April 2, 2019 16:05
@sbernard31 sbernard31 merged commit be20408 into master Apr 2, 2019
@sbernard31 sbernard31 mentioned this pull request Apr 2, 2019
@sbernard31 sbernard31 deleted the custom_bootstrap_handler branch May 23, 2019 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant