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

Sending classes that dont exist on the server but exist on all clients #168

Open
newk5 opened this issue Nov 8, 2021 · 0 comments
Open

Comments

@newk5
Copy link

newk5 commented Nov 8, 2021

Hello, is it possible to send classes that dont exist on the server but exist only on the clients?

For my use case, the server does not need to convert the received java.lang.Object to the corresponding class, that would be impossible since the server has no knowledge of the class type, however, all other clients connected to the server have that class and would be able to serialize it to the corresponding class type. Is there any way I can just receive the java.lang.Object on the server and then just send it to the clients and have the clients do the conversion? I've tried it but I get a KryoException: Unable to find class <classs name> error on the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant