internal GetGroupNextChunkCommand(GroupEnumerationPointer pointer) { base.name = "GetGroupNextChunkCommand"; _getNextChunkCommand = new Alachisoft.NCache.Common.Protobuf.GetGroupNextChunkCommand(); _getNextChunkCommand.groupEnumerationPointer = EnumerationPointerConversionUtil.ConvertToProtobufGroupEnumerationPointer(pointer); }
private CommandInfo ParseCommand(Alachisoft.NCache.Common.Protobuf.Command command, ClientManager clientManager) { CommandInfo cmdInfo = new CommandInfo(); Alachisoft.NCache.Common.Protobuf.GetGroupNextChunkCommand getNextChunkCommand = command.getGroupNextChunkCommand; cmdInfo.RequestId = getNextChunkCommand.requestId.ToString(); cmdInfo.Pointer = EnumerationPointerConversionUtil.GetFromProtobufGroupEnumerationPointer(getNextChunkCommand.groupEnumerationPointer); string intendedRecepient = command.intendedRecipient; long lastViewId = command.clientLastViewId; cmdInfo.OperationContext = new OperationContext(); cmdInfo.OperationContext.Add(OperationContextFieldName.IntendedRecipient, intendedRecepient); cmdInfo.OperationContext.Add(OperationContextFieldName.ClientLastViewId, lastViewId); CommandsUtil.PopulateClientIdInContext(ref cmdInfo.OperationContext, clientManager.ClientAddress); return(cmdInfo); }