modifier.setReferenceTimestamp( now );
modifier.setOriginateTimestamp( now );
modifier.setReceiveTimestamp( now );
modifier.setTransmitTimestamp( now );
NtpMessage message = modifier.getNtpMessage();
ByteBuffer replyByteBuffer = ByteBuffer.allocate( 1024 );
NtpMessageEncoder encoder = new NtpMessageEncoder();
encoder.encode( replyByteBuffer, message );
print( message );
NtpMessageDecoder decoder = new NtpMessageDecoder();
NtpMessage reply = decoder.decode( replyByteBuffer );
print( reply );
}