public UnRegisterBulkKeyNotificationCommand(string[] keys, short updateCallbackid, short removeCallbackid) { name = "UnRegisterBulkKeyNotificationCommand"; _unregisterBulkKeyNotifCommand = new Alachisoft.NCache.Common.Protobuf.UnRegisterBulkKeyNotifCommand(); _unregisterBulkKeyNotifCommand.keys.AddRange(keys); _unregisterBulkKeyNotifCommand.removeCallbackId = removeCallbackid; _unregisterBulkKeyNotifCommand.updateCallbackId = updateCallbackid; _unregisterBulkKeyNotifCommand.requestId = base.RequestId; }
public UnRegisterBulkKeyNotificationCommand(string[] keys, short updateCallbackid, short removeCallbackid) { name = "UnRegisterBulkKeyNotificationCommand"; _unregisterBulkKeyNotifCommand = new Alachisoft.NCache.Common.Protobuf.UnRegisterBulkKeyNotifCommand(); _unregisterBulkKeyNotifCommand.keys.AddRange(keys); _unregisterBulkKeyNotifCommand.removeCallbackId = removeCallbackid; _unregisterBulkKeyNotifCommand.updateCallbackId = updateCallbackid; _unregisterBulkKeyNotifCommand.requestId = base.RequestId; }
//PROTOBUF private CommandInfo ParseCommand(Alachisoft.NCache.Common.Protobuf.Command command, ClientManager clientManager) { CommandInfo cmdInfo = new CommandInfo(); Alachisoft.NCache.Common.Protobuf.UnRegisterBulkKeyNotifCommand unRegisterBulkKeyNotifCommand = command.unRegisterBulkKeyNotifCommand; cmdInfo.Keys = unRegisterBulkKeyNotifCommand.keys.ToArray(); cmdInfo.RemoveCallbackId = (short)unRegisterBulkKeyNotifCommand.removeCallbackId; cmdInfo.RequestId = unRegisterBulkKeyNotifCommand.requestId.ToString(); cmdInfo.UpdateCallbackId = (short)unRegisterBulkKeyNotifCommand.updateCallbackId; return(cmdInfo); }