Class TimesyncRequest.TimesyncRequestData

java.lang.Object
com.marswars.proxy_server.TimesyncRequest.TimesyncRequestData
Enclosing class:
TimesyncRequest

public static class TimesyncRequest.TimesyncRequestData extends Object
Data structure containing time synchronization request information.
  • Field Details

    • requestId

      public final int requestId
      Request identifier for matching requests to responses
    • clientSendSeconds

      public final int clientSendSeconds
      Client timestamp when request was sent (seconds)
    • clientSendNanoseconds

      public final int clientSendNanoseconds
      Client timestamp when request was sent (nanoseconds)
    • timestamp

      public final Packet.Timestamp timestamp
      Packet timestamp from header
  • Constructor Details

    • TimesyncRequestData

      public TimesyncRequestData(int requestId, int clientSendSeconds, int clientSendNanoseconds, Packet.Timestamp timestamp)