public long generateTransactionTimestamp(long forcedTimeStamp) { _client.writeMsg( Msg.GENERATE_TRANSACTION_TIMESTAMP.getWriterForLong(this, forcedTimeStamp), true); return _client.expectedBufferResponse(Msg.GENERATE_TRANSACTION_TIMESTAMP).readLong(); }
public Msg replyFromServer() { long forcedTimestamp = readLong(); long timestamp = transaction().generateTransactionTimestamp(forcedTimestamp); return Msg.GENERATE_TRANSACTION_TIMESTAMP.getWriterForLong(transaction(), timestamp); }