Skip to content

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

@newk5

Description

@newk5

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions