EsotericSoftware / EsotericSoftware/kryonet
Sending classes that dont exist on the server but exist on all clients
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 411
- PR merge metrics
- No merged PRs in 30d
Description
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 ` error on the server.
Contributor guide
Assessment
This issue has not been assessed yet.