Class TimesyncRequest

java.lang.Object
com.marswars.proxy_server.TimesyncRequest
All Implemented Interfaces:
Packet

public abstract class TimesyncRequest extends Object implements Packet
Packet handler for time synchronization requests. Provides functionality to parse incoming timesync request packets containing client timing information for precision time coordination.
  • Field Details

  • Constructor Details

    • TimesyncRequest

      public TimesyncRequest()
  • Method Details

    • updateData

      public static TimesyncRequest.TimesyncRequestData updateData(byte[] buffer)
      Parses timesync request packet data from a received byte buffer. Extracts request ID and client timestamps from the buffer.
      Parameters:
      buffer - the byte buffer containing the packet data
      Returns:
      TimesyncRequestData object with parsed information