Hazelcast.Client.Spi.ClientInvocationService.UpdateInvocation C# (CSharp) Method

UpdateInvocation() private method

private UpdateInvocation ( ClientInvocation clientInvocation, ClientConnection connection ) : void
clientInvocation ClientInvocation
connection ClientConnection
return void
        private void UpdateInvocation(ClientInvocation clientInvocation, ClientConnection connection)
        {
            var correlationId = NextCorrelationId();
            clientInvocation.Message.SetCorrelationId(correlationId);
            clientInvocation.Message.AddFlag(ClientMessage.BeginAndEndFlags);
            clientInvocation.SentConnection = connection;
            if (clientInvocation.PartitionId != -1)
            {
                clientInvocation.Message.SetPartitionId(clientInvocation.PartitionId);
            }
        }