private GetCacheManagementPortCommand.CommandInfo ParseCommand(Alachisoft.NCache.Common.Protobuf.Command command, ClientManager clientManager)
        {
            CommandInfo cmdInfo = new CommandInfo();

            Alachisoft.NCache.Common.Protobuf.GetCacheManagementPortCommand getCacheManagementPortCommand = command.getCacheManagementPortCommand;

            cmdInfo.CacheId      = getCacheManagementPortCommand.cacheId;
            cmdInfo.IsJavaClient = getCacheManagementPortCommand.isJavaClient;
            cmdInfo.RequestId    = command.requestID.ToString();

            return(cmdInfo);
        }
        private GetCacheManagementPortCommand.CommandInfo ParseCommand(Alachisoft.NCache.Common.Protobuf.Command command, ClientManager clientManager)
        {
            CommandInfo cmdInfo = new CommandInfo();

            Alachisoft.NCache.Common.Protobuf.GetCacheManagementPortCommand getCacheManagementPortCommand = command.getCacheManagementPortCommand;

            cmdInfo.CacheId      = getCacheManagementPortCommand.cacheId;
            cmdInfo.IsJavaClient = getCacheManagementPortCommand.isJavaClient;
            cmdInfo.RequestId    = command.requestID.ToString();
            cmdInfo.Password     = getCacheManagementPortCommand.pwd;
            cmdInfo.UserName     = getCacheManagementPortCommand.userId;

            cmdInfo.PasswordBinary = getCacheManagementPortCommand.binaryPassword;
            cmdInfo.UserNameBinary = getCacheManagementPortCommand.binaryUserId;

            return(cmdInfo);
        }