Package com.marswars.proxy_server
Class TimesyncResponse.TimesyncResponseData
java.lang.Object
com.marswars.proxy_server.TimesyncResponse.TimesyncResponseData
- Enclosing class:
- TimesyncResponse
Data structure containing time synchronization response information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intClient timestamp when response was sent (nanoseconds)final intClient timestamp when response was sent (seconds)final intRequest identifier echoed from the original requestfinal intServer timestamp when request was received (nanoseconds)final intServer timestamp when request was received (seconds) -
Constructor Summary
ConstructorsConstructorDescriptionTimesyncResponseData(int requestId, int serverReceiveSeconds, int serverReceiveNanoseconds, int clientSendSeconds, int clientSendNanoseconds) -
Method Summary
-
Field Details
-
requestId
public final int requestIdRequest identifier echoed from the original request -
serverReceiveSeconds
public final int serverReceiveSecondsServer timestamp when request was received (seconds) -
serverReceiveNanoseconds
public final int serverReceiveNanosecondsServer timestamp when request was received (nanoseconds) -
clientSendSeconds
public final int clientSendSecondsClient timestamp when response was sent (seconds) -
clientSendNanoseconds
public final int clientSendNanosecondsClient timestamp when response was sent (nanoseconds)
-
-
Constructor Details
-
TimesyncResponseData
public TimesyncResponseData(int requestId, int serverReceiveSeconds, int serverReceiveNanoseconds, int clientSendSeconds, int clientSendNanoseconds)
-