setup ffsaf server

This commit is contained in:
2024-01-11 22:48:19 +01:00
commit 1d2d4626a5
34 changed files with 2323 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
package fr.titionfire.ffsaf.net2;
import io.quarkus.runtime.annotations.RegisterForReflection;
import java.util.UUID;
@RegisterForReflection
public record Message<T> (UUID uuid, String code, MessageType type, T data){
@Override
public String toString() {
return "Message{" +
"uuid=" + uuid +
", code='" + code + '\'' +
", type=" + type +
", data=" + data +
'}';
}
}