Пример #1
0
        private CommandInfo ParseCommand(Alachisoft.NCache.Common.Protobuf.Command command, ClientManager clientManager)
        {
            CommandInfo cmdInfo = new CommandInfo();

            Alachisoft.NCache.Common.Protobuf.GetProductVersionCommand getProductVersionCommand = command.getProductVersionCommand;

            cmdInfo.RequestId = getProductVersionCommand.requestId.ToString();

            return(cmdInfo);
        }
        public GetProductVersionCommand(string userName, string password)
        {
            base.name = "GetProductVersionCommand";
            getProductVersionCommand= new Alachisoft.NCache.Common.Protobuf.GetProductVersionCommand();
            getProductVersionCommand.requestId= base.RequestId;

            if(string.IsNullOrEmpty(userName))
            {
                getProductVersionCommand.userId= string.Empty;
            }
            if(string.IsNullOrEmpty(password))
            {
                getProductVersionCommand.pwd= string.Empty;
            }
        }
Пример #3
0
        public GetProductVersionCommand(string userName, string password)
        {
            base.name = "GetProductVersionCommand";
            getProductVersionCommand           = new Alachisoft.NCache.Common.Protobuf.GetProductVersionCommand();
            getProductVersionCommand.requestId = base.RequestId;

            if (string.IsNullOrEmpty(userName))
            {
                getProductVersionCommand.userId = string.Empty;
            }
            if (string.IsNullOrEmpty(password))
            {
                getProductVersionCommand.pwd = string.Empty;
            }
        }
 public GetProductVersionCommand(string userName, string password)
 {
     base.name = "GetProductVersionCommand";
     getProductVersionCommand           = new Alachisoft.NCache.Common.Protobuf.GetProductVersionCommand();
     getProductVersionCommand.requestId = base.RequestId;
 }