Package com.marswars.proxy_server
Class TimesyncRequest.TimesyncRequestData
java.lang.Object
com.marswars.proxy_server.TimesyncRequest.TimesyncRequestData
- Enclosing class:
- TimesyncRequest
Data structure containing time synchronization request information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intClient timestamp when request was sent (nanoseconds)final intClient timestamp when request was sent (seconds)final intRequest identifier for matching requests to responsesfinal Packet.TimestampPacket timestamp from header -
Constructor Summary
ConstructorsConstructorDescriptionTimesyncRequestData(int requestId, int clientSendSeconds, int clientSendNanoseconds, Packet.Timestamp timestamp) -
Method Summary
-
Field Details
-
requestId
public final int requestIdRequest identifier for matching requests to responses -
clientSendSeconds
public final int clientSendSecondsClient timestamp when request was sent (seconds) -
clientSendNanoseconds
public final int clientSendNanosecondsClient timestamp when request was sent (nanoseconds) -
timestamp
Packet timestamp from header
-
-
Constructor Details
-
TimesyncRequestData
public TimesyncRequestData(int requestId, int clientSendSeconds, int clientSendNanoseconds, Packet.Timestamp timestamp)
-