package de.dhbwstuttgart.server.packet;

import com.fasterxml.jackson.annotation.JsonIgnore;
import de.dhbwstuttgart.server.SocketClient;
import de.dhbwstuttgart.server.SocketFuture;
import de.dhbwstuttgart.server.SocketServer;
import de.dhbwstuttgart.server.packet.dataContainers.serialized.ISerialNode;
import de.dhbwstuttgart.server.packet.dataContainers.serialized.SerialList;
import de.dhbwstuttgart.server.packet.dataContainers.serialized.SerialMap;
import de.dhbwstuttgart.server.packet.dataContainers.serialized.SerialUUID;
import de.dhbwstuttgart.server.packet.dataContainers.serialized.SerialValue;
import org.java_websocket.WebSocket;

public class DebugPacket implements IClientToServerPacket.Void, IServerToClientPacket {

  public SerialUUID a1;
  public SerialUUID a2;
  public SerialMap b1;
  public SerialMap b2;
  public SerialList<? extends ISerialNode> c1;
  public SerialList<? extends ISerialNode> c2;
  public SerialValue<?> d1;
  public SerialValue<?> d2;

  @JsonIgnore
  public void onHandle(WebSocket webSocket, SocketClient socketClient) {}

  @JsonIgnore
  public void onHandle(WebSocket webSocket, SocketServer socketServer) {}

  @JsonIgnore
  public SocketFuture<IServerToClientPacket> getFuture() {
    return SocketFuture.completedFuture();
  }
}
