public RegisterNotificationCommand(NotificationsType notifMask, EventDataFilter datafilter, short sequenceNumber) { base.name = "RegisterNotificationCommand"; _registerNotificationCommand = new Alachisoft.NCache.Common.Protobuf.RegisterNotifCommand(); _registerNotificationCommand.notifMask = (int)notifMask; _registerNotificationCommand.requestId = base.RequestId; _registerNotificationCommand.datafilter = (int)datafilter; _registerNotificationCommand.sequence = sequenceNumber; }
public RegisterNotificationCommand(NotificationsType notifMask, EventDataFilter datafilter, short sequenceNumber) { base.name = "RegisterNotificationCommand"; _registerNotificationCommand = new Alachisoft.NCache.Common.Protobuf.RegisterNotifCommand(); _registerNotificationCommand.notifMask = (int)notifMask; _registerNotificationCommand.requestId = base.RequestId; _registerNotificationCommand.datafilter = (int)datafilter; _registerNotificationCommand.sequence = sequenceNumber; }
//PROTOBUF private CommandInfo ParseCommand(Alachisoft.NCache.Common.Protobuf.Command command, ClientManager clientManager) { CommandInfo cmdInfo = new CommandInfo(); Alachisoft.NCache.Common.Protobuf.RegisterNotifCommand registerNotifCommand = command.registerNotifCommand; cmdInfo.RegNotifs = registerNotifCommand.notifMask; cmdInfo.RequestId = registerNotifCommand.requestId.ToString(); cmdInfo.datafilter = registerNotifCommand.datafilter; cmdInfo.sequence = registerNotifCommand.sequence; return(cmdInfo); }